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.001069/0.001068, allocations: 109.7 kB / 16.41 MB, free: 6.496 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.001077/0.001077, allocations: 189.2 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.315/1.315, 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.725/0.725, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 64.7 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 76.19 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002272/0.1575, allocations: 1.417 MB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1587, allocations: 0.7991 MB / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.1587, allocations: 0 / 0.6343 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.1587, allocations: 4 kB / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.492e-05/0.1588, allocations: 3.938 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1592, allocations: 131.5 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.1592, allocations: 35.86 kB / 0.6344 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.1593, allocations: 8 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.1594, allocations: 11.98 kB / 0.6344 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.705e-05/0.1594, allocations: 23.91 kB / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1595, allocations: 4 kB / 0.6345 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.1599, allocations: 315.4 kB / 0.6348 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.1599, allocations: 3.984 kB / 0.6348 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.1599, allocations: 15.92 kB / 0.6348 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.1602, allocations: 203.6 kB / 0.635 GB, free: 1.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1602, allocations: 0 / 0.635 GB, free: 1.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1602, allocations: 4 kB / 0.635 GB, free: 1.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1602, allocations: 0 / 0.635 GB, free: 1.406 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.0004964/0.1607, allocations: 367.5 kB / 0.6353 GB, free: 1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1608, allocations: 8.031 kB / 0.6353 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.1612, allocations: 68.84 kB / 0.6354 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1613, allocations: 168.2 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1614, allocations: 384 / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1614, allocations: 8.375 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.1617, allocations: 93.88 kB / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1617, allocations: 0 / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1617, allocations: 0 / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1618, allocations: 3.984 kB / 0.6357 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.1622, allocations: 87.91 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.1627, allocations: 300.9 kB / 0.636 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.1631, allocations: 102.4 kB / 0.6361 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1633, allocations: 56.86 kB / 0.6362 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1633, allocations: 0 / 0.6362 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1634, allocations: 34.56 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1634, allocations: 0 / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007196/0.1641, allocations: 165.6 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1641, allocations: 51.41 kB / 0.6364 GB, free: 15.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.1642, allocations: 105.8 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1643, allocations: 25.7 kB / 0.6366 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1643, allocations: 84.14 kB / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1643, allocations: 11.84 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1644, allocations: 13.66 kB / 0.6367 GB, free: 15.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1645, allocations: 326.9 kB / 0.637 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.1647, allocations: 39.95 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.1649, allocations: 47.95 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.1653, allocations: 92.77 kB / 0.6371 GB, free: 14.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1653, allocations: 0 / 0.6371 GB, free: 14.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004398/0.1658, allocations: 125.6 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1658, allocations: 4 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1658, allocations: 0 / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1658, allocations: 0 / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.166, allocations: 27.94 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.166, allocations: 4 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1661, allocations: 15.89 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1661, 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 7.907e-05/0.1662, allocations: 117.8 kB / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.1663, allocations: 0 / 0.6374 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.1663, allocations: 11.12 kB / 0.6374 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1663, allocations: 4 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1663, allocations: 0 / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1663, allocations: 0 / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1665, allocations: 173.6 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1665, allocations: 0 / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.1666, allocations: 19.97 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1666, allocations: 3.938 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1667, allocations: 4 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1667, allocations: 4.25 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1667, allocations: 4 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.1671, allocations: 223.3 kB / 0.6379 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.1672, allocations: 77.11 kB / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1672, allocations: 0 / 0.6379 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1673, allocations: 19.97 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1674, allocations: 4.031 kB / 0.6379 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1674, allocations: 4 kB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.1674, allocations: 87.27 kB / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1674, allocations: 0 / 0.638 GB, free: 13.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1677, allocations: 15.91 kB / 0.6381 GB, free: 13.94 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.0001385/0.1678, allocations: 111.2 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.1683, allocations: 95.89 kB / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1683, allocations: 0 / 0.6382 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1685, allocations: 51.95 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.0002897/0.1688, allocations: 11.88 kB / 0.6383 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.1694, allocations: 153.6 kB / 0.6385 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1696, allocations: 0.6768 MB / 0.6391 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.1697, allocations: 12 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.1698, allocations: 7.438 kB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1698, allocations: 0 / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002768/0.1726, allocations: 0.8195 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)