Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",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.001248/0.001248, allocations: 107 kB / 16.4 MB, free: 6.016 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.00125/0.001251, allocations: 195.8 kB / 17.34 MB, free: 5.609 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 74.88 kB / 0.568 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1649, allocations: 77.93 MB / 0.6441 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002768/0.1677, allocations: 1.42 MB / 0.6455 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1691, allocations: 0.7964 MB / 0.6462 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.1692, allocations: 0 / 0.6462 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.1692, allocations: 3.938 kB / 0.6462 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.1693, allocations: 11.86 kB / 0.6462 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.1698, allocations: 123.5 kB / 0.6464 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.606e-05/0.1699, allocations: 35.86 kB / 0.6464 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.17, allocations: 11.97 kB / 0.6464 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.1701, allocations: 15.98 kB / 0.6464 GB, free: 7.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.1702, allocations: 23.91 kB / 0.6464 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1702, allocations: 0 / 0.6464 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.1706, allocations: 315.4 kB / 0.6467 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.1707, allocations: 11.97 kB / 0.6468 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1707, allocations: 15.94 kB / 0.6468 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.171, allocations: 199.7 kB / 0.647 GB, free: 6.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.171, allocations: 0 / 0.647 GB, free: 6.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.171, allocations: 3.938 kB / 0.647 GB, free: 6.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1711, allocations: 0 / 0.647 GB, free: 6.625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005362/0.1716, allocations: 375 kB / 0.6473 GB, free: 6.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1716, allocations: 12.62 kB / 0.6473 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.1717, allocations: 30.75 kB / 0.6474 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.1721, allocations: 72.8 kB / 0.6474 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1723, allocations: 168.4 kB / 0.6476 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.1723, allocations: 384 / 0.6476 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1723, allocations: 4.375 kB / 0.6476 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1726, allocations: 85.75 kB / 0.6477 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1727, allocations: 0 / 0.6477 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1727, allocations: 8 kB / 0.6477 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1727, allocations: 0 / 0.6477 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.1731, allocations: 99.77 kB / 0.6478 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.1737, allocations: 292.8 kB / 0.6481 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.1741, allocations: 98.48 kB / 0.6482 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1743, allocations: 52.88 kB / 0.6482 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1743, allocations: 0 / 0.6482 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1744, allocations: 30.56 kB / 0.6482 GB, free: 5.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.1744, allocations: 0 / 0.6482 GB, free: 5.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007602/0.1751, allocations: 177.5 kB / 0.6484 GB, free: 4.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1752, allocations: 51.41 kB / 0.6485 GB, free: 4.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.1753, allocations: 105.9 kB / 0.6486 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1753, allocations: 25.7 kB / 0.6486 GB, free: 4.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.1754, allocations: 84.12 kB / 0.6487 GB, free: 4.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1754, allocations: 11.95 kB / 0.6487 GB, free: 4.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1754, allocations: 13.75 kB / 0.6487 GB, free: 4.648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1755, allocations: 318.8 kB / 0.649 GB, free: 4.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.1758, allocations: 47.94 kB / 0.649 GB, free: 4.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.176, allocations: 43.95 kB / 0.6491 GB, free: 4.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.1764, allocations: 100.7 kB / 0.6492 GB, free: 4.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1764, allocations: 0 / 0.6492 GB, free: 4.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004569/0.1768, allocations: 113.6 kB / 0.6493 GB, free: 4.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1769, allocations: 11.98 kB / 0.6493 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1769, allocations: 0 / 0.6493 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1769, allocations: 0 / 0.6493 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1771, allocations: 20.02 kB / 0.6493 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1771, allocations: 3.984 kB / 0.6493 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1772, allocations: 19.98 kB / 0.6493 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1772, allocations: 0 / 0.6493 GB, free: 3.965 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 (2): * Single equations (assignments): 2 * 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.96e-05/0.1773, allocations: 113.8 kB / 0.6494 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1774, allocations: 7.984 kB / 0.6495 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.1774, allocations: 7.125 kB / 0.6495 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1774, allocations: 4 kB / 0.6495 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1774, allocations: 0 / 0.6495 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1774, allocations: 0 / 0.6495 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1776, allocations: 173.5 kB / 0.6496 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1776, allocations: 0 / 0.6496 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1778, allocations: 19.92 kB / 0.6496 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1778, allocations: 7.984 kB / 0.6497 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1778, allocations: 8 kB / 0.6497 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1778, allocations: 0 / 0.6497 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1778, allocations: 0 / 0.6497 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.1783, allocations: 219.3 kB / 0.6499 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.1784, allocations: 85.05 kB / 0.65 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1784, allocations: 3.984 kB / 0.65 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1786, allocations: 20.02 kB / 0.65 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.1786, allocations: 4.234 kB / 0.65 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1786, allocations: 4 kB / 0.65 GB, free: 3.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.1787, allocations: 83.28 kB / 0.6501 GB, free: 3.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1787, allocations: 0 / 0.6501 GB, free: 3.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1789, allocations: 15.98 kB / 0.6501 GB, free: 3.109 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009614/0.1799, allocations: 0.763 MB / 0.6508 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.1804, allocations: 91.92 kB / 0.6509 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1804, allocations: 4 kB / 0.6509 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.1806, allocations: 43.95 kB / 0.651 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.181, allocations: 12.06 kB / 0.651 GB, free: 2.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.1817, allocations: 198 kB / 0.6512 GB, free: 1.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.182, allocations: 0.6768 MB / 0.6518 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.1821, allocations: 11.95 kB / 0.6518 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.1821, allocations: 19.42 kB / 0.6518 GB, free: 1.203 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1821, allocations: 0 / 0.6518 GB, free: 1.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.1999, allocations: 1.668 MB / 0.6535 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.704, allocations: 11.08 kB / 0.6535 GB, free: 15.61 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)