Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009064/0.0009064, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009965/0.0009965, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9677/0.9677, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001628/0.001628, allocations: 233.8 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7842/0.7842, allocations: 138.5 MB / 456.3 MB, free: 1.418 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 3.938 kB / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.7e-05, allocations: 5.828 kB / 0.5564 GB, free: 232 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.001861/0.001878, allocations: 1.498 MB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.002916, allocations: 0.7835 MB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.002955, allocations: 0 / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.00298, allocations: 0 / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.003024, allocations: 7.875 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.003377, allocations: 135.4 kB / 0.5587 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.003435, allocations: 31.92 kB / 0.5588 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.201e-05/0.003507, allocations: 4 kB / 0.5588 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.877e-05/0.003556, allocations: 19.98 kB / 0.5588 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.003601, allocations: 23.91 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.003612, allocations: 0 / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.003868, allocations: 247.5 kB / 0.5591 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.003885, allocations: 11.92 kB / 0.5591 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.003902, allocations: 11.98 kB / 0.5591 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.004123, allocations: 199.5 kB / 0.5593 GB, free: 13.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004125, allocations: 0 / 0.5593 GB, free: 13.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.004127, allocations: 4 kB / 0.5593 GB, free: 13.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.00413, allocations: 0 / 0.5593 GB, free: 13.24 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003398/0.00447, allocations: 400.2 kB / 0.5597 GB, free: 12.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.004503, allocations: 8.75 kB / 0.5597 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.00472, allocations: 44.88 kB / 0.5597 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.004798, allocations: 120.5 kB / 0.5598 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.004811, allocations: 384 / 0.5598 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.00482, allocations: 8.312 kB / 0.5598 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.004957, allocations: 74.91 kB / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.004963, allocations: 192 / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.00497, allocations: 384 / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.004975, allocations: 3.938 kB / 0.5599 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.005006, allocations: 12 kB / 0.5599 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.005279, allocations: 260.4 kB / 0.5602 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.005367, allocations: 47.05 kB / 0.5602 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.005387, allocations: 15.73 kB / 0.5602 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.005398, allocations: 4 kB / 0.5602 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.005418, allocations: 33.39 kB / 0.5603 GB, free: 12.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.005418, allocations: 4 kB / 0.5603 GB, free: 12.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001346/0.005553, allocations: 57.52 kB / 0.5603 GB, free: 12.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.005577, allocations: 51.41 kB / 0.5604 GB, free: 11.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.005638, allocations: 161.9 kB / 0.5605 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.005649, allocations: 25.7 kB / 0.5606 GB, free: 11.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.005687, allocations: 134.9 kB / 0.5607 GB, free: 11.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.005705, allocations: 3.953 kB / 0.5607 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.005741, allocations: 19.38 kB / 0.5607 GB, free: 11.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.005845, allocations: 0.4884 MB / 0.5612 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.005864, allocations: 8.109 kB / 0.5612 GB, free: 11.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.005879, allocations: 4 kB / 0.5612 GB, free: 11.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.005912, allocations: 15.69 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005914, allocations: 0 / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.24e-05/0.005986, allocations: 49.62 kB / 0.5613 GB, free: 11.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.005996, allocations: 4 kB / 0.5613 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006002, allocations: 3.938 kB / 0.5613 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.655e-06/0.00601, allocations: 0 / 0.5613 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.00608, allocations: 20.08 kB / 0.5613 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.006084, allocations: 3.984 kB / 0.5613 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.006117, allocations: 7.984 kB / 0.5613 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.006124, allocations: 4.25 kB / 0.5613 GB, free: 10.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.006194, allocations: 152.6 kB / 0.5614 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.006214, allocations: 4 kB / 0.5614 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.006241, allocations: 19.17 kB / 0.5615 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.006244, allocations: 3.984 kB / 0.5615 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.006247, allocations: 8 kB / 0.5615 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.00625, allocations: 0 / 0.5615 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.218e-05/0.006342, allocations: 97.27 kB / 0.5616 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006343, allocations: 0 / 0.5616 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.006384, allocations: 15.97 kB / 0.5616 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006386, allocations: 0 / 0.5616 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006392, allocations: 7.938 kB / 0.5616 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006392, allocations: 0 / 0.5616 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.006395, allocations: 3.938 kB / 0.5616 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.006514, allocations: 199.9 kB / 0.5618 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.00652, allocations: 4 kB / 0.5618 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.00653, allocations: 0 / 0.5618 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.006578, allocations: 7.984 kB / 0.5618 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.006606, allocations: 7.938 kB / 0.5618 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.006611, allocations: 3.984 kB / 0.5618 GB, free: 10.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.006645, allocations: 123.2 kB / 0.5619 GB, free: 10.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006645, allocations: 0 / 0.5619 GB, free: 10.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.006802, allocations: 19.94 kB / 0.5619 GB, free: 10.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.006913, allocations: 111.2 kB / 0.562 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.462e-05/0.006987, allocations: 19.62 kB / 0.5621 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.006988, allocations: 0 / 0.5621 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/0.007013, allocations: 19.67 kB / 0.5621 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.007202, allocations: 6.578 kB / 0.5621 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.007455, allocations: 137.5 kB / 0.5622 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.842e-05/0.007484, allocations: 55.34 kB / 0.5623 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.762e-05/0.007521, allocations: 8 kB / 0.5623 GB, free: 9.844 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.007584, allocations: 74.19 kB / 0.5624 GB, free: 9.77 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007584, allocations: 0 / 0.5624 GB, free: 9.77 MB / 490.7 MB Notification: Performance of Templates: time 0.002385/0.00997, allocations: 0.9959 MB / 0.5633 GB, free: 8.781 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6648999829776585]