Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001172/0.001172, allocations: 100.8 kB / 16.4 MB, free: 6.461 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.001102/0.001102, allocations: 192 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7917/0.7917, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 60.3 kB / 0.568 GB, free: 28.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 77.94 MB / 0.6441 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002487/0.1467, allocations: 1.424 MB / 0.6455 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000293/0.147, allocations: 92.58 kB / 0.6455 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.1471, allocations: 4 kB / 0.6455 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.198e-05/0.1471, allocations: 3.938 kB / 0.6456 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.911e-05/0.1472, allocations: 7.938 kB / 0.6456 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.1475, allocations: 15.98 kB / 0.6456 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.1476, allocations: 23.92 kB / 0.6456 GB, free: 7.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1477, allocations: 7.984 kB / 0.6456 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.1477, allocations: 7.984 kB / 0.6456 GB, free: 7.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.1477, allocations: 15.92 kB / 0.6456 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1478, allocations: 4 kB / 0.6456 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.1479, allocations: 23.98 kB / 0.6457 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.1479, allocations: 4 kB / 0.6457 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1479, allocations: 15.92 kB / 0.6457 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.1481, allocations: 36.06 kB / 0.6457 GB, free: 7.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1481, allocations: 7.938 kB / 0.6457 GB, free: 7.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1481, allocations: 3.984 kB / 0.6457 GB, free: 7.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1481, allocations: 0 / 0.6457 GB, free: 7.84 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.0004385/0.1485, allocations: 343.4 kB / 0.646 GB, free: 7.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1486, allocations: 8.625 kB / 0.6461 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.1486, allocations: 38.69 kB / 0.6461 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.1487, allocations: 8.891 kB / 0.6461 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1488, allocations: 164.4 kB / 0.6463 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1488, allocations: 384 / 0.6463 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1488, allocations: 4.375 kB / 0.6463 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.149, allocations: 50.23 kB / 0.6463 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.149, allocations: 3.938 kB / 0.6463 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.149, allocations: 0 / 0.6463 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.149, allocations: 0 / 0.6463 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.1492, allocations: 47.89 kB / 0.6464 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1495, allocations: 253 kB / 0.6466 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1497, allocations: 38.5 kB / 0.6466 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/0.1498, allocations: 32.89 kB / 0.6467 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1498, allocations: 4 kB / 0.6467 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1498, allocations: 30.56 kB / 0.6467 GB, free: 6.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1498, allocations: 0 / 0.6467 GB, free: 6.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003508/0.1502, allocations: 93.53 kB / 0.6468 GB, free: 6.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1502, allocations: 51.41 kB / 0.6468 GB, free: 6.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.1503, allocations: 110 kB / 0.6469 GB, free: 6.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1504, allocations: 25.7 kB / 0.647 GB, free: 6.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.1504, allocations: 84.14 kB / 0.647 GB, free: 6.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1504, allocations: 11.89 kB / 0.6471 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.1505, allocations: 9.719 kB / 0.6471 GB, free: 6.238 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1506, allocations: 318.8 kB / 0.6474 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.1507, allocations: 15.98 kB / 0.6474 GB, free: 5.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.1508, allocations: 23.98 kB / 0.6474 GB, free: 5.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.151, allocations: 44.75 kB / 0.6475 GB, free: 5.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.151, allocations: 7.938 kB / 0.6475 GB, free: 5.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.1512, allocations: 65.66 kB / 0.6475 GB, free: 5.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1512, allocations: 4.094 kB / 0.6475 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1512, allocations: 7.984 kB / 0.6475 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1512, allocations: 4 kB / 0.6475 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.1513, allocations: 8.234 kB / 0.6475 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1513, allocations: 0 / 0.6475 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1514, allocations: 8 kB / 0.6476 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1514, allocations: 0 / 0.6476 GB, free: 5.723 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.779e-05/0.1515, allocations: 125.7 kB / 0.6477 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1515, allocations: 7.891 kB / 0.6477 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.1518, allocations: 85.12 kB / 0.6478 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1518, allocations: 0 / 0.6478 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1518, allocations: 0 / 0.6478 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1518, allocations: 0 / 0.6478 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.152, allocations: 165.6 kB / 0.6479 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.152, allocations: 0 / 0.6479 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.1521, allocations: 7.984 kB / 0.6479 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1521, allocations: 0 / 0.6479 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1521, allocations: 4.031 kB / 0.6479 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1521, allocations: 4 kB / 0.6479 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1521, allocations: 0 / 0.6479 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1524, allocations: 167.4 kB / 0.6481 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.1524, allocations: 85.06 kB / 0.6482 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1524, allocations: 0 / 0.6482 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1525, allocations: 12.02 kB / 0.6482 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1526, allocations: 0 / 0.6482 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1526, allocations: 0 / 0.6482 GB, free: 4.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.224e-05/0.1526, allocations: 91.27 kB / 0.6483 GB, free: 4.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1526, allocations: 0 / 0.6483 GB, free: 4.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1529, allocations: 8 kB / 0.6483 GB, free: 4.871 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.0005609/0.1534, allocations: 0.6968 MB / 0.649 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1537, allocations: 43.89 kB / 0.649 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1537, allocations: 0 / 0.649 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.1538, allocations: 24.08 kB / 0.649 GB, free: 4.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1541, allocations: 4 kB / 0.649 GB, free: 4.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.1545, allocations: 147.1 kB / 0.6492 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1548, allocations: 0.6807 MB / 0.6498 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.1548, allocations: 192 / 0.6498 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1548, allocations: 11.44 kB / 0.6498 GB, free: 3.176 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1548, allocations: 4 kB / 0.6499 GB, free: 3.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.1724, allocations: 1.434 MB / 0.6513 GB, free: 1.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.67, allocations: 7.984 kB / 0.6513 GB, free: 1.809 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial_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_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)