Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001723/0.001723, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7958/0.7958, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 65.28 kB / 0.5685 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1653, allocations: 77.93 MB / 0.6446 GB, free: 8.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002109/0.1675, allocations: 0.6102 MB / 0.6452 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1694, allocations: 1.462 MB / 0.6466 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.1695, allocations: 0 / 0.6466 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.1695, allocations: 3.938 kB / 0.6466 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.1696, allocations: 3.938 kB / 0.6466 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.1701, allocations: 123.5 kB / 0.6468 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.1702, allocations: 27.92 kB / 0.6468 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.1702, allocations: 3.984 kB / 0.6468 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.137e-05/0.1703, allocations: 19.92 kB / 0.6468 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.1704, allocations: 19.84 kB / 0.6468 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1704, allocations: 4 kB / 0.6468 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.1709, allocations: 315.4 kB / 0.6471 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.1709, allocations: 7.984 kB / 0.6471 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.171, allocations: 11.88 kB / 0.6472 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.1713, allocations: 187.5 kB / 0.6473 GB, free: 6.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1713, allocations: 3.938 kB / 0.6473 GB, free: 6.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1713, allocations: 0 / 0.6473 GB, free: 6.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1714, allocations: 4 kB / 0.6473 GB, free: 6.152 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005005/0.1719, allocations: 384.8 kB / 0.6477 GB, free: 5.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1719, allocations: 12.62 kB / 0.6477 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.1723, allocations: 60.86 kB / 0.6478 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1724, allocations: 176.3 kB / 0.6479 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1724, allocations: 4.375 kB / 0.648 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1724, allocations: 384 / 0.648 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1727, allocations: 81.95 kB / 0.648 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1727, allocations: 0 / 0.648 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1727, allocations: 3.938 kB / 0.648 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1727, allocations: 4 kB / 0.648 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.1731, allocations: 71.92 kB / 0.6481 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.1733, allocations: 169.7 kB / 0.6483 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.1738, allocations: 126.4 kB / 0.6484 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.174, allocations: 44.94 kB / 0.6484 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.174, allocations: 0 / 0.6484 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.174, allocations: 38.5 kB / 0.6485 GB, free: 4.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.174, allocations: 4 kB / 0.6485 GB, free: 4.836 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003832/0.1779, allocations: 0.7896 MB / 0.6492 GB, free: 4.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1779, allocations: 51.41 kB / 0.6493 GB, free: 3.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.178, allocations: 109.8 kB / 0.6494 GB, free: 3.859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.178, allocations: 29.7 kB / 0.6494 GB, free: 3.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.1781, allocations: 84.14 kB / 0.6495 GB, free: 3.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.1781, allocations: 31.73 kB / 0.6495 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.1782, allocations: 25.72 kB / 0.6496 GB, free: 3.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.1783, allocations: 318.8 kB / 0.6499 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.1787, allocations: 95.89 kB / 0.65 GB, free: 3.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.1791, allocations: 91.91 kB / 0.65 GB, free: 3.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008653/0.18, allocations: 204.8 kB / 0.6502 GB, free: 2.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.18, allocations: 0 / 0.6502 GB, free: 2.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008846/0.1809, allocations: 245.3 kB / 0.6505 GB, free: 2.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1809, allocations: 9.719 kB / 0.6505 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1809, allocations: 0 / 0.6505 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.181, allocations: 4 kB / 0.6505 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1813, allocations: 55.94 kB / 0.6505 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1813, allocations: 320 / 0.6505 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1815, allocations: 35.95 kB / 0.6506 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1815, allocations: 4 kB / 0.6506 GB, free: 2.617 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 (9): * Single equations (assignments): 9 * 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 9.948e-05/0.1816, allocations: 114.7 kB / 0.6507 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1817, allocations: 7.953 kB / 0.6507 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1817, allocations: 20.36 kB / 0.6507 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1817, allocations: 0 / 0.6507 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1817, allocations: 0.75 kB / 0.6507 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1817, allocations: 0 / 0.6507 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.1833, allocations: 0.609 MB / 0.6513 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1833, allocations: 4 kB / 0.6513 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1836, allocations: 47.94 kB / 0.6514 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1836, allocations: 12.05 kB / 0.6514 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1836, allocations: 4 kB / 0.6514 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.1837, allocations: 4 kB / 0.6514 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1837, allocations: 3.984 kB / 0.6514 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.1846, allocations: 345 kB / 0.6517 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.1846, allocations: 85.14 kB / 0.6518 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1847, allocations: 7.938 kB / 0.6518 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1849, allocations: 35.95 kB / 0.6518 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.185, allocations: 19.86 kB / 0.6519 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.185, allocations: 4 kB / 0.6519 GB, free: 1.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.056e-05/0.185, allocations: 91.27 kB / 0.6519 GB, free: 1.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.185, allocations: 0 / 0.6519 GB, free: 1.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1853, allocations: 39.88 kB / 0.652 GB, free: 1.062 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0002256/0.1856, allocations: 127.1 kB / 0.6521 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000914/0.1865, allocations: 211.7 kB / 0.6523 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1865, allocations: 0 / 0.6523 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.187, allocations: 108 kB / 0.6524 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1872, allocations: 8 kB / 0.6524 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.1887, allocations: 407.5 kB / 0.6528 GB, free: 184 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1889, allocations: 0.6846 MB / 0.6535 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.1891, allocations: 20.67 kB / 0.6535 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.1891, allocations: 19.42 kB / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.1891, allocations: 0 / 0.6535 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.004367/0.1935, allocations: 1.658 MB / 0.6551 GB, free: 13.77 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)