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.001092/0.001093, allocations: 104.2 kB / 16.4 MB, free: 6.508 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.001143/0.001143, allocations: 192 kB / 17.34 MB, free: 5.738 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8027/0.8027, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 72.98 kB / 0.568 GB, free: 28.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1463, allocations: 77.93 MB / 0.6441 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002059/0.1484, allocations: 0.5844 MB / 0.6447 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1505, allocations: 1.455 MB / 0.6461 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1506, allocations: 4 kB / 0.6461 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.1506, allocations: 3.938 kB / 0.6461 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.1506, allocations: 0 / 0.6461 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.1512, allocations: 139.4 kB / 0.6462 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.1513, allocations: 27.97 kB / 0.6463 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.1514, allocations: 8 kB / 0.6463 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.1514, allocations: 15.92 kB / 0.6463 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.1515, allocations: 23.95 kB / 0.6463 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1515, allocations: 4 kB / 0.6463 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.1521, allocations: 311.4 kB / 0.6466 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.1521, allocations: 15.91 kB / 0.6466 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.1521, allocations: 7.984 kB / 0.6466 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.1525, allocations: 199.7 kB / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1525, allocations: 0 / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1525, allocations: 0 / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1525, allocations: 4 kB / 0.6468 GB, free: 6.68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006023/0.1532, allocations: 365.1 kB / 0.6472 GB, free: 6.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1532, allocations: 8.625 kB / 0.6472 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1533, allocations: 34.69 kB / 0.6472 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.1537, allocations: 76.78 kB / 0.6473 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1538, allocations: 164.4 kB / 0.6475 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1539, allocations: 8.375 kB / 0.6475 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1539, allocations: 4.375 kB / 0.6475 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1542, allocations: 73.77 kB / 0.6475 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1542, allocations: 0 / 0.6475 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1542, allocations: 0 / 0.6475 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1542, allocations: 0 / 0.6475 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.1545, allocations: 71.86 kB / 0.6476 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.1547, allocations: 165.7 kB / 0.6478 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.1553, allocations: 122.5 kB / 0.6479 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1555, allocations: 44.91 kB / 0.6479 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/0.156, allocations: 153 kB / 0.6481 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1561, allocations: 42.5 kB / 0.6481 GB, free: 5.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1561, allocations: 0 / 0.6481 GB, free: 5.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001304/0.1574, allocations: 406.1 kB / 0.6485 GB, free: 4.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1575, allocations: 51.41 kB / 0.6485 GB, free: 4.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.1575, allocations: 101.8 kB / 0.6486 GB, free: 4.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1576, allocations: 25.7 kB / 0.6487 GB, free: 4.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.1576, allocations: 84.14 kB / 0.6487 GB, free: 4.449 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.1576, allocations: 15.86 kB / 0.6488 GB, free: 4.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.1577, allocations: 21.7 kB / 0.6488 GB, free: 4.406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1578, allocations: 310.8 kB / 0.6491 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.158, allocations: 44.03 kB / 0.6491 GB, free: 4.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1582, allocations: 31.97 kB / 0.6492 GB, free: 4.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.1585, allocations: 80.8 kB / 0.6492 GB, free: 3.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1585, allocations: 0 / 0.6492 GB, free: 3.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003863/0.1589, allocations: 113.6 kB / 0.6493 GB, free: 3.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1589, allocations: 4 kB / 0.6493 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1589, allocations: 0 / 0.6493 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.159, allocations: 0 / 0.6493 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1591, allocations: 27.91 kB / 0.6494 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1591, allocations: 4 kB / 0.6494 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1592, allocations: 15.98 kB / 0.6494 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1593, allocations: 4.328 kB / 0.6494 GB, free: 3.766 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 (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.0001296/0.1594, allocations: 105.8 kB / 0.6495 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1594, allocations: 12.14 kB / 0.6495 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.1599, allocations: 145.1 kB / 0.6496 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1599, allocations: 3.984 kB / 0.6496 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1599, allocations: 0 / 0.6496 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1599, allocations: 0 / 0.6496 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1601, allocations: 173.5 kB / 0.6498 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1601, allocations: 3.938 kB / 0.6498 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.1603, allocations: 31.91 kB / 0.6498 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1603, allocations: 0 / 0.6498 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1603, allocations: 4 kB / 0.6498 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1603, allocations: 4 kB / 0.6499 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1604, allocations: 0 / 0.6499 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.1609, allocations: 181 kB / 0.65 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.161, allocations: 97.08 kB / 0.6501 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.161, allocations: 4 kB / 0.6501 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1612, allocations: 11.98 kB / 0.6501 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.1612, allocations: 4 kB / 0.6501 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1612, allocations: 0 / 0.6501 GB, free: 2.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.185e-05/0.1612, allocations: 83.27 kB / 0.6502 GB, free: 2.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1613, allocations: 0 / 0.6502 GB, free: 2.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1615, allocations: 31.97 kB / 0.6502 GB, free: 2.785 MB / 494.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.0008958/0.1624, allocations: 0.7489 MB / 0.651 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.1628, allocations: 83.94 kB / 0.6511 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1628, allocations: 0 / 0.6511 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.163, allocations: 47.95 kB / 0.6511 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.1632, allocations: 4 kB / 0.6511 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.1652, allocations: 1.365 MB / 0.6524 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1655, allocations: 0.6807 MB / 0.6531 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.1656, allocations: 16 kB / 0.6531 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.1657, allocations: 11.44 kB / 0.6531 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1657, allocations: 0 / 0.6531 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.1848, allocations: 2.063 MB / 0.6551 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.745, allocations: 9.25 kB / 0.6552 GB, free: 13.73 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)