Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 95.8 kB / 15.68 MB, free: 488 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.0009153/0.0009154, allocations: 174 kB / 16.57 MB, free: 6.391 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: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6625/0.6625, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003144, allocations: 12 kB / 493.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 77.16 MB / 0.5569 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008607/0.1302, allocations: 486.2 kB / 0.5573 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1319, allocations: 1.408 MB / 0.5587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.1319, allocations: 7.938 kB / 0.5587 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.1319, allocations: 3.938 kB / 0.5587 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.132, allocations: 3.984 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.1324, allocations: 107.7 kB / 0.5588 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.921e-05/0.1325, allocations: 27.95 kB / 0.5588 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1326, allocations: 8 kB / 0.5588 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/0.1326, allocations: 23.92 kB / 0.5589 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.1327, allocations: 27.91 kB / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1327, allocations: 4 kB / 0.5589 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.1332, allocations: 319.4 kB / 0.5592 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.1332, allocations: 15.97 kB / 0.5592 GB, free: 9.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.1333, allocations: 33.64 kB / 0.5593 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1335, allocations: 151.8 kB / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1335, allocations: 0 / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1335, allocations: 0 / 0.5594 GB, free: 8.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1335, allocations: 4 kB / 0.5594 GB, free: 8.934 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006104/0.1341, allocations: 391.5 kB / 0.5598 GB, free: 8.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1342, allocations: 8.031 kB / 0.5598 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.1347, allocations: 91.75 kB / 0.5599 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1348, allocations: 174.9 kB / 0.56 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.1348, allocations: 8 kB / 0.56 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1349, allocations: 8 kB / 0.5601 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.1352, allocations: 113.6 kB / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1353, allocations: 3.953 kB / 0.5602 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.1353, allocations: 4 kB / 0.5602 GB, free: 8.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1353, allocations: 3.984 kB / 0.5602 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.1358, allocations: 123.9 kB / 0.5603 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.1364, allocations: 336.6 kB / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.137, allocations: 182.5 kB / 0.5608 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1371, allocations: 160 / 0.5608 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1371, allocations: 34.55 kB / 0.5608 GB, free: 7.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1371, allocations: 0 / 0.5608 GB, free: 7.32 MB / 430.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=11): time 0.01851/0.1556, allocations: 3.185 MB / 0.5639 GB, free: 4.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1557, allocations: 51.41 kB / 0.564 GB, free: 3.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.1558, allocations: 101.8 kB / 0.5641 GB, free: 3.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.1558, allocations: 29.7 kB / 0.5641 GB, free: 3.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.1559, allocations: 95.98 kB / 0.5642 GB, free: 3.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.156, allocations: 35.55 kB / 0.5642 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.156, allocations: 3.938 kB / 0.5642 GB, free: 3.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1561, allocations: 326.8 kB / 0.5645 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.1568, allocations: 211.8 kB / 0.5647 GB, free: 3.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.1575, allocations: 227.4 kB / 0.565 GB, free: 2.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.1582, allocations: 219.8 kB / 0.5652 GB, free: 2.727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1582, allocations: 0 / 0.5652 GB, free: 2.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001603/0.1598, allocations: 0.5205 MB / 0.5657 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1599, allocations: 4 kB / 0.5657 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1599, allocations: 0 / 0.5657 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1599, allocations: 0 / 0.5657 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.1607, allocations: 119.8 kB / 0.5658 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1608, allocations: 4 kB / 0.5658 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/0.1614, allocations: 55.94 kB / 0.5659 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.1615, allocations: 23.92 kB / 0.5659 GB, free: 1.996 MB / 430.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.1616, allocations: 125.8 kB / 0.566 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.1617, allocations: 7.906 kB / 0.566 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.1618, allocations: 7.969 kB / 0.566 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1618, allocations: 7.938 kB / 0.566 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1618, allocations: 0 / 0.566 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1618, allocations: 3.984 kB / 0.566 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.164, allocations: 1.101 MB / 0.5671 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1641, allocations: 0 / 0.5671 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/0.1649, allocations: 119.8 kB / 0.5672 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1649, allocations: 7.938 kB / 0.5672 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.165, allocations: 24.11 kB / 0.5672 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.165, allocations: 0 / 0.5672 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.165, allocations: 3.953 kB / 0.5672 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.1674, allocations: 0.8698 MB / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.1675, allocations: 121.1 kB / 0.5682 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.1676, allocations: 0 / 0.5682 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.1683, allocations: 55.94 kB / 0.5683 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.1684, allocations: 31.92 kB / 0.5683 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.1685, allocations: 31.88 kB / 0.5683 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.896e-05/0.1685, allocations: 79.28 kB / 0.5684 GB, free: 15.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1685, allocations: 0 / 0.5684 GB, free: 15.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.1689, allocations: 52 kB / 0.5685 GB, free: 15.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002691/0.1692, allocations: 119.9 kB / 0.5686 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.1707, allocations: 471.5 kB / 0.569 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1707, allocations: 0 / 0.569 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007352/0.1715, allocations: 251.7 kB / 0.5693 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1717, allocations: 15.94 kB / 0.5693 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.176, allocations: 0.8579 MB / 0.5701 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1762, allocations: 0.6965 MB / 0.5708 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006715/0.1769, allocations: 92.66 kB / 0.5709 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.1772, allocations: 55.3 kB / 0.5709 GB, free: 12.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1772, allocations: 0 / 0.5709 GB, free: 12.6 MB / 446.1 MB Notification: Performance of Templates: time 0.005813/0.183, allocations: 3.241 MB / 0.5741 GB, free: 9.367 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)