Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.7 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 195.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7768/0.7768, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.58 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002505/0.1704, allocations: 1.427 MB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1719, allocations: 0.7913 MB / 0.6342 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.1719, allocations: 0 / 0.6342 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.172, allocations: 0 / 0.6342 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.172, allocations: 3.938 kB / 0.6343 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.1725, allocations: 135.5 kB / 0.6344 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.1726, allocations: 31.92 kB / 0.6344 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.1727, allocations: 11.91 kB / 0.6344 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.1728, allocations: 12 kB / 0.6344 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.1729, allocations: 27.89 kB / 0.6345 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1729, allocations: 4 kB / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.1733, allocations: 323.3 kB / 0.6348 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1734, allocations: 4 kB / 0.6348 GB, free: 1.621 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.1734, allocations: 19.91 kB / 0.6348 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.1738, allocations: 191.6 kB / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1738, allocations: 0 / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1738, allocations: 0 / 0.635 GB, free: 1.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.1738, allocations: 0 / 0.635 GB, free: 1.414 MB / 478.1 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.0005674/0.1744, allocations: 371.4 kB / 0.6353 GB, free: 1.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1744, allocations: 16.03 kB / 0.6353 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.1749, allocations: 60.86 kB / 0.6354 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1751, allocations: 176.2 kB / 0.6356 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.1751, allocations: 4.375 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1751, allocations: 384 / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.1755, allocations: 89.88 kB / 0.6357 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1755, allocations: 4 kB / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1755, allocations: 0 / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1755, allocations: 0 / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.176, allocations: 91.91 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1765, allocations: 300.8 kB / 0.636 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.177, allocations: 98.44 kB / 0.6361 GB, free: 80 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1772, allocations: 52.88 kB / 0.6362 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1772, allocations: 3.938 kB / 0.6362 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.1773, allocations: 30.56 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1773, allocations: 0 / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008096/0.1781, allocations: 169.5 kB / 0.6364 GB, free: 15.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1781, allocations: 51.41 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.1782, allocations: 105.8 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1783, allocations: 25.7 kB / 0.6366 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1783, allocations: 84.2 kB / 0.6366 GB, free: 15.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1784, allocations: 11.91 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1784, allocations: 17.7 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1785, allocations: 314.8 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.1788, allocations: 43.95 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.179, allocations: 43.95 kB / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.1794, allocations: 96.77 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1794, allocations: 0 / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004624/0.1799, allocations: 117.8 kB / 0.6373 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1799, allocations: 8 kB / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1799, allocations: 0 / 0.6373 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1799, allocations: 8.031 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1801, allocations: 23.91 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1801, allocations: 0 / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1802, allocations: 27.81 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1803, allocations: 0 / 0.6373 GB, free: 14.79 MB / 494.1 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 0.0001308/0.1804, allocations: 121.8 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.1804, allocations: 0 / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.1804, allocations: 3.125 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1805, allocations: 0 / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1805, allocations: 4 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1805, allocations: 0 / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1807, allocations: 173.6 kB / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1807, allocations: 0 / 0.6376 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1808, allocations: 23.97 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1808, allocations: 0 / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1808, allocations: 4 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1808, allocations: 3.938 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1809, allocations: 0 / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.1814, allocations: 223.3 kB / 0.6379 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.1814, allocations: 77.11 kB / 0.6379 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1814, allocations: 0 / 0.6379 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1816, allocations: 28 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1816, allocations: 3.984 kB / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1816, allocations: 0 / 0.638 GB, free: 14.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.205e-05/0.1817, allocations: 83.27 kB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1817, allocations: 4 kB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.182, allocations: 15.91 kB / 0.6381 GB, free: 13.95 MB / 494.1 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.0001593/0.1821, allocations: 115.2 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.1826, allocations: 91.91 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1826, allocations: 0 / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.1829, allocations: 51.89 kB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1831, allocations: 11.92 kB / 0.6383 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.1837, allocations: 153.6 kB / 0.6385 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.1841, allocations: 0.6807 MB / 0.6391 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.869e-05/0.1842, allocations: 8 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.1842, allocations: 15.42 kB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1842, allocations: 0 / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of Templates: time 0.003082/0.1873, allocations: 0.8116 MB / 0.6399 GB, free: 11.95 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)