Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 120 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 282.8 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9605/0.9605, allocations: 169.3 MB / 0.4982 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 101.8 kB / 0.5952 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1589, allocations: 86.98 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002146/0.1611, allocations: 0.6313 MB / 0.6808 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1631, allocations: 1.45 MB / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.1632, allocations: 0 / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.1633, allocations: 0 / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/0.1633, allocations: 15.92 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.1638, allocations: 123.5 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.1639, allocations: 23.92 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.164, allocations: 7.984 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.164, allocations: 15.92 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.1641, allocations: 19.92 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1641, allocations: 0 / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.1646, allocations: 319.3 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.1647, allocations: 7.938 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.1647, allocations: 19.86 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.165, allocations: 183.9 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.165, allocations: 4 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.165, allocations: 0 / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1651, allocations: 0 / 0.6829 GB, free: 13.84 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.0005127/0.1656, allocations: 383.3 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1656, allocations: 12.02 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/0.166, allocations: 60.78 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1662, allocations: 172.4 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1662, allocations: 384 / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1662, allocations: 8.375 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.1665, allocations: 73.95 kB / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1665, allocations: 7.906 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1665, allocations: 0 / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1665, allocations: 0 / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.1669, allocations: 75.84 kB / 0.6837 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1671, allocations: 169.7 kB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.1677, allocations: 130.5 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1679, allocations: 36.95 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1679, allocations: 4 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1679, allocations: 46.42 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.1679, allocations: 0 / 0.6841 GB, free: 12.52 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.0042/0.1721, allocations: 0.774 MB / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1722, allocations: 51.41 kB / 0.6849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.1723, allocations: 113.8 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1723, allocations: 33.7 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.1724, allocations: 80.14 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.1724, allocations: 31.55 kB / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.1725, allocations: 29.7 kB / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1727, allocations: 314.8 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.1731, allocations: 99.84 kB / 0.6855 GB, free: 10.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.1736, allocations: 103.9 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/0.1744, allocations: 188.7 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1745, allocations: 4 kB / 0.6858 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009325/0.1754, allocations: 245.6 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1754, allocations: 4 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1754, allocations: 0.75 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1755, allocations: 96 / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.1758, allocations: 59.88 kB / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1758, allocations: 0 / 0.6861 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.176, allocations: 39.89 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1761, allocations: 3.984 kB / 0.6862 GB, free: 10.31 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.093e-05/0.1762, allocations: 127 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1762, allocations: 8 kB / 0.6863 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.1763, allocations: 8.375 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1763, allocations: 0 / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1763, allocations: 0 / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1763, allocations: 4 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.178, allocations: 0.5977 MB / 0.6869 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.178, allocations: 3.984 kB / 0.6869 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1783, allocations: 55.95 kB / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1783, allocations: 0 / 0.6869 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1783, allocations: 7.984 kB / 0.6869 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1784, allocations: 0 / 0.6869 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1784, allocations: 0 / 0.6869 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.1793, allocations: 352.9 kB / 0.6873 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.1794, allocations: 81.11 kB / 0.6874 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1794, allocations: 0 / 0.6874 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.1797, allocations: 39.95 kB / 0.6874 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1797, allocations: 15.92 kB / 0.6874 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1798, allocations: 7.984 kB / 0.6874 GB, free: 8.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.1798, allocations: 87.28 kB / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1798, allocations: 0 / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1802, allocations: 43.98 kB / 0.6875 GB, free: 8.773 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.0002259/0.1804, allocations: 133.3 kB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000945/0.1814, allocations: 211.7 kB / 0.6879 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1814, allocations: 0 / 0.6879 GB, free: 8.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.1818, allocations: 108 kB / 0.688 GB, free: 8.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1821, allocations: 10.17 kB / 0.688 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1837, allocations: 418.2 kB / 0.6884 GB, free: 7.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.184, allocations: 0.6884 MB / 0.6891 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1842, allocations: 24.66 kB / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.1842, allocations: 15.42 kB / 0.6891 GB, free: 7.117 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1842, allocations: 4 kB / 0.6891 GB, free: 7.113 MB / 494.1 MB Notification: Performance of Templates: time 0.00409/0.1883, allocations: 1.646 MB / 0.6907 GB, free: 5.473 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)