Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.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.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",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.001755/0.001756, allocations: 108.8 kB / 16.41 MB, free: 6.5 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.001428/0.001429, 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.314/1.314, 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.757/0.757, allocations: 122.9 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.2 kB / 0.568 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1643, allocations: 77.94 MB / 0.6441 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002009/0.1663, allocations: 0.5611 MB / 0.6447 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.1666, allocations: 39.81 kB / 0.6447 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.1667, allocations: 0 / 0.6447 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1667, allocations: 4 kB / 0.6447 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.408e-06/0.1667, allocations: 0 / 0.6447 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.1671, allocations: 15.91 kB / 0.6447 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.1672, allocations: 4 kB / 0.6447 GB, free: 8.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.367e-05/0.1673, allocations: 4 kB / 0.6447 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.1673, allocations: 8 kB / 0.6447 GB, free: 8.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.1674, allocations: 3.938 kB / 0.6447 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1674, allocations: 0 / 0.6447 GB, free: 8.879 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1675, allocations: 19.97 kB / 0.6447 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1676, allocations: 0 / 0.6447 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1676, allocations: 4 kB / 0.6448 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.1677, allocations: 11.97 kB / 0.6448 GB, free: 8.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1677, allocations: 0 / 0.6448 GB, free: 8.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1677, allocations: 0 / 0.6448 GB, free: 8.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1677, allocations: 0 / 0.6448 GB, free: 8.844 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003916/0.1681, allocations: 323.8 kB / 0.6451 GB, free: 8.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.1682, allocations: 12.62 kB / 0.6451 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.1683, allocations: 30.75 kB / 0.6451 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.1683, allocations: 0.9375 kB / 0.6451 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1684, allocations: 164.3 kB / 0.6453 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1684, allocations: 384 / 0.6453 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.1684, allocations: 384 / 0.6453 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1686, allocations: 34.25 kB / 0.6453 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1686, allocations: 3.938 kB / 0.6453 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1686, allocations: 0 / 0.6453 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1686, allocations: 4 kB / 0.6453 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.1686, allocations: 4 kB / 0.6453 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.1688, allocations: 145.7 kB / 0.6455 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.1689, allocations: 18.52 kB / 0.6455 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.1689, allocations: 8.953 kB / 0.6455 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.1689, allocations: 3.938 kB / 0.6455 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.169, allocations: 42.55 kB / 0.6455 GB, free: 7.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.169, allocations: 4 kB / 0.6455 GB, free: 7.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.1692, allocations: 37.64 kB / 0.6456 GB, free: 7.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1692, allocations: 51.41 kB / 0.6456 GB, free: 7.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.941e-05/0.1693, allocations: 89.86 kB / 0.6457 GB, free: 7.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1693, allocations: 29.64 kB / 0.6457 GB, free: 7.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.1693, allocations: 80.14 kB / 0.6458 GB, free: 7.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.1694, allocations: 3.953 kB / 0.6458 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1694, allocations: 14.19 kB / 0.6458 GB, free: 7.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1695, allocations: 326.8 kB / 0.6461 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.1695, allocations: 0 / 0.6461 GB, free: 7.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.1696, allocations: 4 kB / 0.6461 GB, free: 7.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.1696, allocations: 8.859 kB / 0.6461 GB, free: 7.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1696, allocations: 0 / 0.6461 GB, free: 7.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.878e-05/0.1697, allocations: 29.7 kB / 0.6462 GB, free: 7.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1697, allocations: 4 kB / 0.6462 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1697, allocations: 8.031 kB / 0.6462 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1697, allocations: 4 kB / 0.6462 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.1698, allocations: 7.922 kB / 0.6462 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1698, allocations: 0 / 0.6462 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.1698, allocations: 0 / 0.6462 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1699, allocations: 4 kB / 0.6462 GB, free: 7.137 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 (1): * Single equations (assignments): 1 * 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 7.877e-05/0.1699, allocations: 113.3 kB / 0.6463 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.1699, allocations: 0 / 0.6463 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1701, allocations: 48.75 kB / 0.6464 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1701, allocations: 3.984 kB / 0.6464 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1701, allocations: 0 / 0.6464 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1701, allocations: 0 / 0.6464 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1702, allocations: 141.7 kB / 0.6465 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1702, allocations: 0 / 0.6465 GB, free: 6.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.1703, allocations: 8 kB / 0.6465 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1703, allocations: 3.984 kB / 0.6465 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.1703, allocations: 3.938 kB / 0.6465 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1703, allocations: 4.031 kB / 0.6465 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1703, allocations: 3.938 kB / 0.6465 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.7e-05/0.1704, allocations: 57.08 kB / 0.6466 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.1704, allocations: 77.11 kB / 0.6466 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1704, allocations: 7.922 kB / 0.6467 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.1705, allocations: 4 kB / 0.6467 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.1705, allocations: 4 kB / 0.6467 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1705, allocations: 8.031 kB / 0.6467 GB, free: 6.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.632e-05/0.1705, allocations: 79.28 kB / 0.6467 GB, free: 6.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1705, allocations: 0 / 0.6467 GB, free: 6.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1708, allocations: 7.938 kB / 0.6468 GB, free: 6.473 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 (1): * Single equations (assignments): 1 * 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.0004211/0.1712, allocations: 0.6046 MB / 0.6473 GB, free: 5.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.224e-05/0.1713, allocations: 4 kB / 0.6473 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1713, allocations: 0 / 0.6473 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.1713, allocations: 4 kB / 0.6473 GB, free: 5.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1714, allocations: 3.938 kB / 0.6474 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.1718, allocations: 114.6 kB / 0.6475 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1721, allocations: 0.669 MB / 0.6481 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.1722, allocations: 12.06 kB / 0.6481 GB, free: 4.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.1722, allocations: 7.438 kB / 0.6481 GB, free: 4.957 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1722, allocations: 0 / 0.6481 GB, free: 4.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.1909, allocations: 1.006 MB / 0.6491 GB, free: 4.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.364/7.555, allocations: 6.109 kB / 0.6491 GB, free: 4.031 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)