Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7345/0.7345, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 187 kB / 174.2 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205 MB / 408.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 101.7 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.00104, allocations: 55.61 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1696, allocations: 75.48 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002311/0.172, allocations: 1.494 MB / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1731, allocations: 0.8504 MB / 0.634 GB, free: 30.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1731, allocations: 0 / 0.634 GB, free: 30.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.1732, allocations: 3.938 kB / 0.634 GB, free: 30.66 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.1732, allocations: 3.938 kB / 0.634 GB, free: 30.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.1736, allocations: 99.75 kB / 0.6341 GB, free: 30.56 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.1736, allocations: 35.89 kB / 0.6341 GB, free: 30.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.1737, allocations: 8 kB / 0.6341 GB, free: 30.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.1738, allocations: 19.92 kB / 0.6341 GB, free: 30.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.1738, allocations: 19.98 kB / 0.6342 GB, free: 30.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1739, allocations: 0 / 0.6342 GB, free: 30.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1742, allocations: 319.3 kB / 0.6345 GB, free: 30.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.1742, allocations: 11.92 kB / 0.6345 GB, free: 30.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1743, allocations: 8 kB / 0.6345 GB, free: 30.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1745, allocations: 191.6 kB / 0.6347 GB, free: 29.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1745, allocations: 0 / 0.6347 GB, free: 29.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1745, allocations: 0 / 0.6347 GB, free: 29.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1746, allocations: 0 / 0.6347 GB, free: 29.96 MB / 442.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.0004758/0.175, allocations: 379.6 kB / 0.635 GB, free: 29.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1751, allocations: 12.03 kB / 0.635 GB, free: 29.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.1755, allocations: 68.84 kB / 0.6351 GB, free: 29.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.19e-05/0.1756, allocations: 164.4 kB / 0.6353 GB, free: 29.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1756, allocations: 384 / 0.6353 GB, free: 29.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1757, allocations: 384 / 0.6353 GB, free: 29.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.176, allocations: 89.94 kB / 0.6353 GB, free: 29.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.176, allocations: 4 kB / 0.6353 GB, free: 29.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.176, allocations: 0 / 0.6353 GB, free: 29.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.176, allocations: 0 / 0.6353 GB, free: 29.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.1764, allocations: 95.83 kB / 0.6354 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.1769, allocations: 304.7 kB / 0.6357 GB, free: 28.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.1773, allocations: 98.48 kB / 0.6358 GB, free: 28.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.1775, allocations: 52.86 kB / 0.6359 GB, free: 28.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1775, allocations: 0 / 0.6359 GB, free: 28.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1775, allocations: 34.56 kB / 0.6359 GB, free: 28.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1775, allocations: 4 kB / 0.6359 GB, free: 28.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006774/0.1782, allocations: 161.5 kB / 0.6361 GB, free: 28.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1783, allocations: 55.39 kB / 0.6361 GB, free: 28.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.1783, allocations: 101.9 kB / 0.6362 GB, free: 28.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1783, allocations: 25.7 kB / 0.6362 GB, free: 28.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.1784, allocations: 88.27 kB / 0.6363 GB, free: 28.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1784, allocations: 11.83 kB / 0.6363 GB, free: 28.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.1784, allocations: 13.72 kB / 0.6363 GB, free: 28.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.1785, allocations: 314.8 kB / 0.6366 GB, free: 27.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1787, allocations: 47.95 kB / 0.6367 GB, free: 27.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1789, allocations: 43.94 kB / 0.6367 GB, free: 27.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.1792, allocations: 100.6 kB / 0.6368 GB, free: 27.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1792, allocations: 4 kB / 0.6368 GB, free: 27.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003879/0.1796, allocations: 117.6 kB / 0.6369 GB, free: 27.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1797, allocations: 8 kB / 0.637 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1797, allocations: 4.031 kB / 0.637 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1797, allocations: 0 / 0.637 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1799, allocations: 23.91 kB / 0.637 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1799, allocations: 0 / 0.637 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.18, allocations: 19.97 kB / 0.637 GB, free: 27.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.18, allocations: 4 kB / 0.637 GB, free: 27.33 MB / 442.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 5.917e-05/0.1801, allocations: 113.8 kB / 0.6371 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1801, allocations: 0 / 0.6371 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.1801, allocations: 7.125 kB / 0.6371 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1801, allocations: 3.984 kB / 0.6371 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1801, allocations: 0 / 0.6371 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1802, allocations: 4 kB / 0.6371 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.1803, allocations: 173.5 kB / 0.6373 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1803, allocations: 0 / 0.6373 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.1804, allocations: 27.91 kB / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1804, allocations: 0 / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1805, allocations: 0 / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1805, allocations: 4 kB / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1805, allocations: 3.984 kB / 0.6373 GB, free: 26.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.1813, allocations: 0.8062 MB / 0.6381 GB, free: 26.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.1813, allocations: 77.11 kB / 0.6382 GB, free: 25.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1813, allocations: 7.984 kB / 0.6382 GB, free: 25.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1815, allocations: 19.98 kB / 0.6382 GB, free: 25.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1815, allocations: 7.922 kB / 0.6382 GB, free: 25.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1815, allocations: 4 kB / 0.6382 GB, free: 25.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.32e-05/0.1816, allocations: 83.28 kB / 0.6383 GB, free: 25.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 0.6383 GB, free: 25.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.1819, allocations: 12 kB / 0.6383 GB, free: 25.86 MB / 442.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.0001502/0.1821, allocations: 111.2 kB / 0.6384 GB, free: 25.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.1825, allocations: 91.91 kB / 0.6385 GB, free: 25.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1825, allocations: 4.062 kB / 0.6385 GB, free: 25.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.1827, allocations: 51.88 kB / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.183, allocations: 8 kB / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.1836, allocations: 264.5 kB / 0.6388 GB, free: 25.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.1837, allocations: 0.6809 MB / 0.6395 GB, free: 24.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.552e-05/0.1838, allocations: 11.94 kB / 0.6395 GB, free: 24.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.1838, allocations: 11.44 kB / 0.6395 GB, free: 24.56 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1838, allocations: 0 / 0.6395 GB, free: 24.56 MB / 442.7 MB Notification: Performance of Templates: time 0.002499/0.1863, allocations: 0.7576 MB / 0.6402 GB, free: 23.8 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)