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.00148/0.00148, allocations: 108.7 kB / 16.41 MB, free: 6.039 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.001302/0.001302, allocations: 194.6 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8996/0.8996, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.45 kB / 0.5736 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 78.87 MB / 0.6506 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001624/0.1456, allocations: 0.5674 MB / 0.6512 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000258/0.1459, allocations: 35.88 kB / 0.6512 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.436e-05/0.1459, allocations: 0 / 0.6512 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.1459, allocations: 0 / 0.6512 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.542e-06/0.1459, allocations: 0 / 0.6512 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1462, allocations: 7.984 kB / 0.6512 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.389e-05/0.1462, allocations: 11.98 kB / 0.6512 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.1463, allocations: 7.938 kB / 0.6512 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.167e-05/0.1463, allocations: 0 / 0.6512 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.1463, allocations: 4 kB / 0.6512 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1464, allocations: 0 / 0.6512 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.41e-05/0.1465, allocations: 27.91 kB / 0.6512 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.1465, allocations: 0 / 0.6512 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.1465, allocations: 0 / 0.6512 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.429e-05/0.1466, allocations: 11.98 kB / 0.6513 GB, free: 2.863 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1466, allocations: 0 / 0.6513 GB, free: 2.863 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1466, allocations: 0 / 0.6513 GB, free: 2.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1466, allocations: 4 kB / 0.6513 GB, free: 2.859 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.0003221/0.1469, allocations: 321.5 kB / 0.6516 GB, free: 2.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.147, allocations: 8.031 kB / 0.6516 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.147, allocations: 30.75 kB / 0.6516 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.147, allocations: 4.875 kB / 0.6516 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.1471, allocations: 160.4 kB / 0.6518 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1472, allocations: 4.375 kB / 0.6518 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.1472, allocations: 384 / 0.6518 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.672e-05/0.1473, allocations: 38.19 kB / 0.6518 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1473, allocations: 7.922 kB / 0.6518 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1473, allocations: 0 / 0.6518 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1473, allocations: 7.938 kB / 0.6518 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.1473, allocations: 0 / 0.6518 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.1475, allocations: 145.7 kB / 0.652 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.063e-05/0.1475, allocations: 18.61 kB / 0.652 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.1475, allocations: 4.859 kB / 0.652 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.1476, allocations: 15.98 kB / 0.652 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.1476, allocations: 34.56 kB / 0.652 GB, free: 1.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1476, allocations: 0 / 0.652 GB, free: 1.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.1477, allocations: 41.62 kB / 0.6521 GB, free: 1.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1478, allocations: 51.41 kB / 0.6521 GB, free: 1.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.1478, allocations: 89.86 kB / 0.6522 GB, free: 1.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1478, allocations: 29.7 kB / 0.6522 GB, free: 1.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1479, allocations: 80.27 kB / 0.6523 GB, free: 1.578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1479, allocations: 7.953 kB / 0.6523 GB, free: 1.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.1479, allocations: 10.06 kB / 0.6523 GB, free: 1.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1481, allocations: 314.8 kB / 0.6526 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.1481, allocations: 8 kB / 0.6526 GB, free: 1.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.1481, allocations: 3.938 kB / 0.6526 GB, free: 1.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.1482, allocations: 8.859 kB / 0.6526 GB, free: 1.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1482, allocations: 0 / 0.6526 GB, free: 1.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.479e-05/0.1482, allocations: 33.77 kB / 0.6527 GB, free: 1.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1483, allocations: 8 kB / 0.6527 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1483, allocations: 3.938 kB / 0.6527 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1483, allocations: 0 / 0.6527 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.1483, allocations: 3.984 kB / 0.6527 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1484, allocations: 0 / 0.6527 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.1484, allocations: 4 kB / 0.6527 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1484, allocations: 0 / 0.6527 GB, free: 1.156 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 8.233e-05/0.1485, allocations: 105.8 kB / 0.6528 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.1485, allocations: 4.031 kB / 0.6528 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1486, allocations: 52.69 kB / 0.6528 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1486, allocations: 0 / 0.6528 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1486, allocations: 0 / 0.6528 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1486, allocations: 0 / 0.6528 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1488, allocations: 145.7 kB / 0.653 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1488, allocations: 3.938 kB / 0.653 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.1488, allocations: 7.969 kB / 0.653 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1488, allocations: 0 / 0.653 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1488, allocations: 7.922 kB / 0.653 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1488, allocations: 4 kB / 0.653 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1488, allocations: 0 / 0.653 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.1489, allocations: 57.08 kB / 0.6531 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.149, allocations: 77.11 kB / 0.6531 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.149, allocations: 11.92 kB / 0.6531 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.149, allocations: 8.031 kB / 0.6532 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.149, allocations: 0 / 0.6532 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.149, allocations: 4 kB / 0.6532 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.1491, allocations: 75.28 kB / 0.6532 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1491, allocations: 0 / 0.6532 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.1493, allocations: 11.94 kB / 0.6532 GB, free: 0.4922 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.0004934/0.1498, allocations: 0.6007 MB / 0.6538 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.902e-05/0.1499, allocations: 7.938 kB / 0.6538 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1499, allocations: 0 / 0.6538 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.1499, allocations: 4 kB / 0.6538 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.15, allocations: 1.875 kB / 0.6538 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.1503, allocations: 110.7 kB / 0.6539 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1506, allocations: 0.673 MB / 0.6546 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.1507, allocations: 4 kB / 0.6546 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.1507, allocations: 7.438 kB / 0.6546 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1507, allocations: 0 / 0.6546 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.1726, allocations: 1.017 MB / 0.6556 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.15, allocations: 6.688 kB / 0.6556 GB, free: 14.05 MB / 0.4981 GB (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)