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.001354/0.001358, allocations: 106.5 kB / 16.41 MB, free: 6.496 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.001376/0.001376, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8211/0.8211, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 73.72 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1614, allocations: 78.87 MB / 0.6506 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001493/0.1629, allocations: 0.5766 MB / 0.6512 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1646, allocations: 1.46 MB / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.1646, allocations: 0 / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.426e-06/0.1647, allocations: 4 kB / 0.6526 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.905e-05/0.1647, allocations: 0 / 0.6526 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1651, allocations: 141.3 kB / 0.6527 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.275e-05/0.1651, allocations: 31.91 kB / 0.6528 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.129e-05/0.1651, allocations: 3.938 kB / 0.6528 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.1652, allocations: 23.97 kB / 0.6528 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.1652, allocations: 19.91 kB / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1653, allocations: 7.938 kB / 0.6528 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.1657, allocations: 315.3 kB / 0.6531 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1657, allocations: 7.984 kB / 0.6531 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.1658, allocations: 7.984 kB / 0.6531 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.1661, allocations: 191.8 kB / 0.6533 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1661, allocations: 7.984 kB / 0.6533 GB, free: 0.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1661, allocations: 0 / 0.6533 GB, free: 0.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1661, allocations: 0 / 0.6533 GB, free: 0.75 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.0005163/0.1666, allocations: 371.1 kB / 0.6537 GB, free: 348 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1666, allocations: 8.625 kB / 0.6537 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.1667, allocations: 30.75 kB / 0.6537 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.1671, allocations: 68.84 kB / 0.6538 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1672, allocations: 160.4 kB / 0.6539 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1673, allocations: 8.312 kB / 0.6539 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1673, allocations: 8.375 kB / 0.654 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.1676, allocations: 81.69 kB / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1676, allocations: 0 / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1676, allocations: 0 / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.1676, allocations: 0 / 0.654 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.1679, allocations: 67.92 kB / 0.6541 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.1681, allocations: 157.7 kB / 0.6542 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.1687, allocations: 122.6 kB / 0.6544 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1689, allocations: 52.84 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.1693, allocations: 153 kB / 0.6546 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1694, allocations: 42.5 kB / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1694, allocations: 0 / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00116/0.1705, allocations: 406.1 kB / 0.655 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1706, allocations: 51.41 kB / 0.655 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.1707, allocations: 97.84 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1707, allocations: 33.83 kB / 0.6552 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1708, allocations: 80.14 kB / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1708, allocations: 15.86 kB / 0.6553 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.1709, allocations: 21.7 kB / 0.6553 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.171, allocations: 314.8 kB / 0.6556 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.1712, allocations: 35.97 kB / 0.6556 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1713, allocations: 35.97 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.1716, allocations: 72.8 kB / 0.6557 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1717, allocations: 4 kB / 0.6557 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003643/0.172, allocations: 117.5 kB / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.172, allocations: 8 kB / 0.6558 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1721, allocations: 0 / 0.6558 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1721, allocations: 0 / 0.6558 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1723, allocations: 28.23 kB / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1723, allocations: 0 / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.1724, allocations: 15.98 kB / 0.6559 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1724, allocations: 4 kB / 0.6559 GB, free: 13.84 MB / 0.4981 GB 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 8.786e-05/0.1725, allocations: 109.8 kB / 0.656 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1725, allocations: 11.88 kB / 0.656 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.173, allocations: 141.1 kB / 0.6561 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.173, allocations: 0 / 0.6561 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.173, allocations: 0 / 0.6561 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.173, allocations: 320 / 0.6561 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1732, allocations: 177.6 kB / 0.6563 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1732, allocations: 7.938 kB / 0.6563 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1733, allocations: 27.97 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1733, allocations: 0 / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1734, allocations: 0 / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1734, allocations: 0 / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1734, allocations: 0 / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.1739, allocations: 185 kB / 0.6565 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.174, allocations: 93.06 kB / 0.6566 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1741, allocations: 4.047 kB / 0.6566 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1742, allocations: 15.98 kB / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1742, allocations: 4 kB / 0.6566 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1742, allocations: 0 / 0.6566 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.1743, allocations: 87.27 kB / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1743, allocations: 0 / 0.6567 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002278/0.1745, allocations: 27.88 kB / 0.6567 GB, free: 12.86 MB / 0.4981 GB 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.001051/0.1756, allocations: 0.7567 MB / 0.6575 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003617/0.176, allocations: 80 kB / 0.6576 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.176, allocations: 0 / 0.6576 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.1763, allocations: 55.89 kB / 0.6576 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.1765, allocations: 1.719 kB / 0.6576 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.1785, allocations: 1.344 MB / 0.6589 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1789, allocations: 0.6884 MB / 0.6596 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.309e-05/0.179, allocations: 19.94 kB / 0.6596 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.179, allocations: 15.44 kB / 0.6596 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.179, allocations: 0 / 0.6596 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.2107, allocations: 2.06 MB / 0.6616 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.317, allocations: 0 / 0.6616 GB, free: 7.812 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)