Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 100.1 kB / 15.88 MB, free: 12 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.001699/0.0017, allocations: 210.1 kB / 16.79 MB, free: 6.84 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.305/1.305, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6597/0.6597, allocations: 115.3 MB / 405.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 66.92 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 76.19 MB / 0.5559 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002661/0.138, allocations: 0.6511 MB / 0.5565 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.1411, allocations: 1.469 MB / 0.5579 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.1411, allocations: 0 / 0.5579 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.1412, allocations: 0 / 0.5579 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.09e-05/0.1412, allocations: 4 kB / 0.5579 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.1419, allocations: 112.8 kB / 0.558 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.142, allocations: 27.97 kB / 0.5581 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.142, allocations: 4 kB / 0.5581 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.1421, allocations: 23.91 kB / 0.5581 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.1422, allocations: 19.97 kB / 0.5581 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.1422, allocations: 4 kB / 0.5581 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007626/0.143, allocations: 315.3 kB / 0.5584 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.1431, allocations: 7.984 kB / 0.5584 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.1431, allocations: 19.92 kB / 0.5584 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.1436, allocations: 187.6 kB / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1436, allocations: 0 / 0.5586 GB, free: 7.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1437, allocations: 3.938 kB / 0.5586 GB, free: 7.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1437, allocations: 0 / 0.5586 GB, free: 7.859 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007209/0.1444, allocations: 363.7 kB / 0.559 GB, free: 7.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1445, allocations: 15.97 kB / 0.559 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1445, allocations: 30.75 kB / 0.559 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/0.1454, allocations: 68.84 kB / 0.5591 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1455, allocations: 164.4 kB / 0.5592 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.1456, allocations: 4.359 kB / 0.5592 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.1456, allocations: 8.375 kB / 0.5593 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.146, allocations: 73.77 kB / 0.5593 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1461, allocations: 0 / 0.5593 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1461, allocations: 0 / 0.5593 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1461, allocations: 4 kB / 0.5593 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.1467, allocations: 67.86 kB / 0.5594 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.147, allocations: 161.7 kB / 0.5595 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.148, allocations: 122.5 kB / 0.5597 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1484, allocations: 44.91 kB / 0.5597 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007968/0.1492, allocations: 153 kB / 0.5599 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1492, allocations: 34.5 kB / 0.5599 GB, free: 6.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 4.578e-06/0.1493, allocations: 0 / 0.5599 GB, free: 6.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001966/0.1512, allocations: 410.1 kB / 0.5603 GB, free: 5.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1513, allocations: 63.34 kB / 0.5603 GB, free: 5.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.1514, allocations: 101.8 kB / 0.5604 GB, free: 5.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1515, allocations: 25.7 kB / 0.5605 GB, free: 5.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.1515, allocations: 80.14 kB / 0.5605 GB, free: 5.633 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.1516, allocations: 19.75 kB / 0.5606 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.1517, allocations: 21.7 kB / 0.5606 GB, free: 5.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1518, allocations: 314.8 kB / 0.5609 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.1521, allocations: 36.09 kB / 0.5609 GB, free: 5.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.1525, allocations: 35.97 kB / 0.5609 GB, free: 5.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.153, allocations: 76.98 kB / 0.561 GB, free: 5.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1531, allocations: 0 / 0.561 GB, free: 5.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007433/0.1538, allocations: 121.5 kB / 0.5611 GB, free: 4.996 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1539, allocations: 4 kB / 0.5611 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1539, allocations: 7.938 kB / 0.5611 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1539, allocations: 0 / 0.5611 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.1542, allocations: 27.97 kB / 0.5612 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1542, allocations: 0 / 0.5612 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1544, allocations: 11.98 kB / 0.5612 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.1545, allocations: 0 / 0.5612 GB, free: 4.945 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 (6): * Single equations (assignments): 6 * 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 0.0001252/0.1546, allocations: 113.8 kB / 0.5613 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.1547, allocations: 3.938 kB / 0.5613 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008401/0.1555, allocations: 141 kB / 0.5614 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1555, allocations: 4 kB / 0.5614 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1555, allocations: 0 / 0.5614 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1556, allocations: 0 / 0.5614 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1558, allocations: 169.6 kB / 0.5616 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1558, allocations: 3.938 kB / 0.5616 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.1561, allocations: 27.97 kB / 0.5616 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1561, allocations: 0 / 0.5616 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.1562, allocations: 4 kB / 0.5616 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1562, allocations: 0 / 0.5616 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1562, allocations: 0 / 0.5616 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.1568, allocations: 193.1 kB / 0.5618 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1569, allocations: 88.97 kB / 0.5619 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1569, allocations: 8.031 kB / 0.5619 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.157, allocations: 11.98 kB / 0.5619 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.157, allocations: 3.938 kB / 0.5619 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1571, allocations: 8 kB / 0.5619 GB, free: 4.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.258e-05/0.1571, allocations: 79.27 kB / 0.562 GB, free: 4.004 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1571, allocations: 160 / 0.562 GB, free: 4.004 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1574, allocations: 36 kB / 0.562 GB, free: 3.969 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0008752/0.1582, allocations: 0.7373 MB / 0.5628 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1586, allocations: 87.94 kB / 0.5628 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1586, allocations: 0 / 0.5628 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1588, allocations: 47.95 kB / 0.5629 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.1589, allocations: 4 kB / 0.5629 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.161, allocations: 1.365 MB / 0.5642 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1612, allocations: 0.6731 MB / 0.5649 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1613, allocations: 19.98 kB / 0.5649 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1614, allocations: 15.44 kB / 0.5649 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1614, allocations: 0 / 0.5649 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2253/0.3867, allocations: 1.89 MB / 0.5668 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.3869, allocations: 217 kB / 0.567 GB, free: 14.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.488, allocations: 5.375 kB / 0.567 GB, free: 14.87 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)