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.001035/0.001035, allocations: 92.7 kB / 15.7 MB, free: 472 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.001331/0.001331, allocations: 171.7 kB / 16.58 MB, free: 6.398 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.357/1.357, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6863/0.6863, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003077, allocations: 11.98 kB / 495.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 77.53 MB / 0.5593 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008961/0.1392, allocations: 495.2 kB / 0.5598 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1409, allocations: 1.416 MB / 0.5612 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.1409, allocations: 0 / 0.5612 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.1409, allocations: 0 / 0.5612 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.141, allocations: 3.938 kB / 0.5612 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1414, allocations: 107.7 kB / 0.5613 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.1415, allocations: 43.89 kB / 0.5613 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.1415, allocations: 4 kB / 0.5614 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.1416, allocations: 27.92 kB / 0.5614 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.1417, allocations: 27.89 kB / 0.5614 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1417, allocations: 4 kB / 0.5614 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.1421, allocations: 303.3 kB / 0.5617 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.1422, allocations: 19.97 kB / 0.5617 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.1422, allocations: 29.7 kB / 0.5617 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1424, allocations: 155.8 kB / 0.5619 GB, free: 6.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1424, allocations: 3.938 kB / 0.5619 GB, free: 6.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1424, allocations: 0 / 0.5619 GB, free: 6.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1424, allocations: 0 / 0.5619 GB, free: 6.785 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.0005486/0.143, allocations: 387.5 kB / 0.5623 GB, free: 6.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.143, allocations: 8.031 kB / 0.5623 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.1435, allocations: 87.81 kB / 0.5624 GB, free: 6.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1436, allocations: 167 kB / 0.5625 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1436, allocations: 7.984 kB / 0.5625 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1437, allocations: 11.94 kB / 0.5625 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.144, allocations: 117.6 kB / 0.5626 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.144, allocations: 3.953 kB / 0.5627 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1441, allocations: 3.984 kB / 0.5627 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1441, allocations: 4 kB / 0.5627 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.1445, allocations: 127.8 kB / 0.5628 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.1451, allocations: 332.7 kB / 0.5631 GB, free: 5.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.1457, allocations: 190.4 kB / 0.5633 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1459, allocations: 60.97 kB / 0.5633 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.146, allocations: 7.922 kB / 0.5633 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.146, allocations: 38.56 kB / 0.5634 GB, free: 5.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.146, allocations: 0 / 0.5634 GB, free: 5.098 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.01656/0.1626, allocations: 3.177 MB / 0.5665 GB, free: 1.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1626, allocations: 55.41 kB / 0.5665 GB, free: 1.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.1627, allocations: 101.8 kB / 0.5666 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.1628, allocations: 29.7 kB / 0.5667 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.1628, allocations: 92.08 kB / 0.5668 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.1629, allocations: 39.39 kB / 0.5668 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.1629, allocations: 4 kB / 0.5668 GB, free: 1.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.163, allocations: 314.8 kB / 0.5671 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007152/0.1638, allocations: 219.9 kB / 0.5673 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.1644, allocations: 222.9 kB / 0.5675 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.165, allocations: 219.8 kB / 0.5677 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1651, allocations: 0 / 0.5677 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001525/0.1666, allocations: 0.5128 MB / 0.5682 GB, free: 15.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1666, allocations: 4 kB / 0.5682 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1666, allocations: 4 kB / 0.5682 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1666, allocations: 3.938 kB / 0.5682 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.1674, allocations: 123.7 kB / 0.5684 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1674, allocations: 1.016 kB / 0.5684 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.168, allocations: 55.94 kB / 0.5684 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.168, allocations: 31.92 kB / 0.5684 GB, free: 15.78 MB / 446.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.0001442/0.1682, allocations: 121.8 kB / 0.5686 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.1683, allocations: 7.906 kB / 0.5686 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.1683, allocations: 11.97 kB / 0.5686 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1683, allocations: 0 / 0.5686 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1683, allocations: 0 / 0.5686 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1683, allocations: 0 / 0.5686 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.1705, allocations: 1.113 MB / 0.5697 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1706, allocations: 0 / 0.5697 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.1713, allocations: 115.8 kB / 0.5698 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1714, allocations: 0 / 0.5698 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.1714, allocations: 23.92 kB / 0.5698 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1714, allocations: 8 kB / 0.5698 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1714, allocations: 3.953 kB / 0.5698 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002249/0.1737, allocations: 0.8698 MB / 0.5707 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1738, allocations: 109.1 kB / 0.5708 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.1739, allocations: 11.92 kB / 0.5708 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/0.1745, allocations: 60 kB / 0.5708 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.1746, allocations: 32.06 kB / 0.5709 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.1747, allocations: 19.94 kB / 0.5709 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.1747, allocations: 91.25 kB / 0.571 GB, free: 13.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1747, allocations: 0 / 0.571 GB, free: 13.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004241/0.1752, allocations: 52 kB / 0.571 GB, free: 12.98 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.0002643/0.1754, allocations: 115.2 kB / 0.5711 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.1769, allocations: 482.7 kB / 0.5716 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1769, allocations: 0 / 0.5716 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.1776, allocations: 251.7 kB / 0.5718 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1779, allocations: 11.98 kB / 0.5718 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.1818, allocations: 0.8618 MB / 0.5727 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.182, allocations: 0.6926 MB / 0.5734 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007452/0.1828, allocations: 88.67 kB / 0.5734 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.183, allocations: 55.3 kB / 0.5735 GB, free: 10.39 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1831, allocations: 0 / 0.5735 GB, free: 10.39 MB / 446.1 MB Notification: Performance of Templates: time 0.006544/0.1896, allocations: 3.245 MB / 0.5767 GB, free: 7.152 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)