Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",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.001404/0.001404, allocations: 100.4 kB / 16.4 MB, free: 6 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.001303/0.001304, allocations: 196.5 kB / 17.34 MB, free: 5.582 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.423/1.423, 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.8489/0.8489, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001837, allocations: 71.41 kB / 0.5735 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1543, allocations: 78.87 MB / 0.6506 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002795/0.1571, allocations: 1.578 MB / 0.6521 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.158, allocations: 0.5053 MB / 0.6526 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.1581, allocations: 4 kB / 0.6526 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.1582, allocations: 19.86 kB / 0.6526 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.1583, allocations: 11.81 kB / 0.6526 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1586, allocations: 39.84 kB / 0.6527 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1587, allocations: 83.75 kB / 0.6527 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1588, allocations: 36.22 kB / 0.6528 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.284e-05/0.1589, allocations: 43.78 kB / 0.6528 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.159, allocations: 43.83 kB / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1591, allocations: 4 kB / 0.6529 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.1591, allocations: 12 kB / 0.6529 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1592, allocations: 19.92 kB / 0.6529 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.1593, allocations: 43.73 kB / 0.6529 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1594, allocations: 95.78 kB / 0.653 GB, free: 1.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1595, allocations: 4 kB / 0.653 GB, free: 1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1595, allocations: 0 / 0.653 GB, free: 1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1595, allocations: 0 / 0.653 GB, free: 1 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005669/0.1601, allocations: 406.9 kB / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1601, allocations: 8.031 kB / 0.6534 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.1601, allocations: 42.73 kB / 0.6535 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.1602, allocations: 12.89 kB / 0.6535 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1604, allocations: 192.2 kB / 0.6537 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1604, allocations: 8.359 kB / 0.6537 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1604, allocations: 8.375 kB / 0.6537 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.1607, allocations: 112.1 kB / 0.6538 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1607, allocations: 0 / 0.6538 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1607, allocations: 4 kB / 0.6538 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1607, allocations: 4 kB / 0.6538 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.161, allocations: 95.92 kB / 0.6539 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.1617, allocations: 376.6 kB / 0.6543 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1619, allocations: 62.55 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.162, allocations: 48.95 kB / 0.6544 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.162, allocations: 7.984 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1621, allocations: 34.56 kB / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1621, allocations: 0 / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004886/0.1626, allocations: 169.5 kB / 0.6546 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1626, allocations: 59.34 kB / 0.6546 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1628, allocations: 131.7 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1628, allocations: 29.7 kB / 0.6548 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.1629, allocations: 104.2 kB / 0.6549 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1629, allocations: 19.86 kB / 0.6549 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.163, allocations: 21.7 kB / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1631, allocations: 318.8 kB / 0.6552 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1633, allocations: 39.97 kB / 0.6553 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1634, allocations: 43.97 kB / 0.6553 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.1636, allocations: 84.81 kB / 0.6554 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1637, allocations: 0 / 0.6554 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002973/0.164, allocations: 129.5 kB / 0.6555 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.164, allocations: 4 kB / 0.6555 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.164, allocations: 11.88 kB / 0.6555 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.164, allocations: 3.938 kB / 0.6555 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1641, allocations: 15.98 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1642, allocations: 4 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.1642, allocations: 11.94 kB / 0.6555 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.1643, allocations: 4 kB / 0.6556 GB, free: 14.2 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 0.0001039/0.1644, allocations: 117.8 kB / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1644, allocations: 7.953 kB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.1648, allocations: 150.6 kB / 0.6558 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1648, allocations: 8 kB / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1648, allocations: 4 kB / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1648, allocations: 0 / 0.6558 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1651, allocations: 201.6 kB / 0.656 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1651, allocations: 0 / 0.656 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.1652, allocations: 19.98 kB / 0.656 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1652, allocations: 4 kB / 0.656 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1652, allocations: 4 kB / 0.656 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.1652, allocations: 7.922 kB / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1652, allocations: 0 / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1656, allocations: 215.4 kB / 0.6563 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.1657, allocations: 89.05 kB / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1657, allocations: 4 kB / 0.6563 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1658, allocations: 11.94 kB / 0.6564 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.1659, allocations: 7.984 kB / 0.6564 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1659, allocations: 4 kB / 0.6564 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001075/0.166, allocations: 105.1 kB / 0.6565 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.166, allocations: 0 / 0.6565 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002413/0.1662, allocations: 19.95 kB / 0.6565 GB, free: 13.14 MB / 0.4981 GB 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 (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.0006973/0.1669, allocations: 0.7631 MB / 0.6572 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.1673, allocations: 99.94 kB / 0.6573 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1673, allocations: 0 / 0.6573 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1674, allocations: 59.89 kB / 0.6574 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1676, allocations: 7.938 kB / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1697, allocations: 1.602 MB / 0.659 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1701, allocations: 0.7079 MB / 0.6596 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.1702, allocations: 15.97 kB / 0.6597 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.1703, allocations: 35.36 kB / 0.6597 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1703, allocations: 0 / 0.6597 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.1935, allocations: 2.01 MB / 0.6617 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.235, allocations: 0.5938 kB / 0.6617 GB, free: 7.785 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions_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_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)