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.0006779/0.0006779, allocations: 92.78 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007285/0.0007285, allocations: 175.2 kB / 16.58 MB, free: 5.688 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.191/1.191, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.603/0.603, allocations: 113.7 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 8 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.001179/0.1179, allocations: 1.134 MB / 0.558 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000224/0.1181, allocations: 96.56 kB / 0.5581 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.1182, allocations: 4 kB / 0.5581 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.1182, allocations: 3.984 kB / 0.5581 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.1182, allocations: 3.938 kB / 0.5581 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.1184, allocations: 11.98 kB / 0.5581 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.674e-05/0.1185, allocations: 15.94 kB / 0.5581 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.1185, allocations: 11.97 kB / 0.5581 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.1186, allocations: 11.94 kB / 0.5582 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.919e-05/0.1186, allocations: 7.984 kB / 0.5582 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1186, allocations: 4 kB / 0.5582 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.922e-05/0.1187, allocations: 23.86 kB / 0.5582 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.1187, allocations: 4 kB / 0.5582 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.1187, allocations: 29.7 kB / 0.5582 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.576e-05/0.1188, allocations: 19.95 kB / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1188, allocations: 0 / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1188, allocations: 0 / 0.5582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.1188, allocations: 0 / 0.5582 GB, free: 10.24 MB / 430.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.0003267/0.1192, allocations: 355.5 kB / 0.5586 GB, free: 9.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.1192, allocations: 8.031 kB / 0.5586 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.1192, allocations: 30.56 kB / 0.5586 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.1193, allocations: 4 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.512e-05/0.1194, allocations: 163.1 kB / 0.5588 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1194, allocations: 4 kB / 0.5588 GB, free: 9.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.1194, allocations: 7.938 kB / 0.5588 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1195, allocations: 61.62 kB / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.1196, allocations: 0 / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.1196, allocations: 0 / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1196, allocations: 0 / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1197, allocations: 43.97 kB / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.12, allocations: 257 kB / 0.5591 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1201, allocations: 54.44 kB / 0.5592 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.1202, allocations: 32.91 kB / 0.5592 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1202, allocations: 11.92 kB / 0.5592 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.1202, allocations: 30.56 kB / 0.5593 GB, free: 9.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1203, allocations: 0 / 0.5593 GB, free: 9.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002869/0.1205, allocations: 105.5 kB / 0.5594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.1206, allocations: 51.41 kB / 0.5594 GB, free: 8.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.1206, allocations: 113.8 kB / 0.5595 GB, free: 8.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.1207, allocations: 25.7 kB / 0.5595 GB, free: 8.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.1207, allocations: 84.14 kB / 0.5596 GB, free: 8.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.1207, allocations: 11.83 kB / 0.5596 GB, free: 8.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.1207, allocations: 4.125 kB / 0.5596 GB, free: 8.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.1208, allocations: 318.8 kB / 0.5599 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.1209, allocations: 15.98 kB / 0.56 GB, free: 8.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/0.1209, allocations: 27.97 kB / 0.56 GB, free: 8.238 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.121, allocations: 24.05 kB / 0.56 GB, free: 8.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.121, allocations: 0 / 0.56 GB, free: 8.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001658/0.1212, allocations: 85.61 kB / 0.5601 GB, free: 8.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1212, allocations: 8.031 kB / 0.5601 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1212, allocations: 4 kB / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.1212, allocations: 0 / 0.5601 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.1213, allocations: 11.98 kB / 0.5601 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1213, allocations: 3.938 kB / 0.5601 GB, free: 8.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.1214, allocations: 7.938 kB / 0.5601 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1214, allocations: 4 kB / 0.5601 GB, free: 8.086 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.1214, allocations: 109.8 kB / 0.5602 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1215, allocations: 15.84 kB / 0.5602 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.1217, allocations: 81.44 kB / 0.5603 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1217, allocations: 0 / 0.5603 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1217, allocations: 12.03 kB / 0.5603 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1217, allocations: 0 / 0.5603 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1218, allocations: 157.7 kB / 0.5605 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1218, allocations: 0 / 0.5605 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.1219, allocations: 16 kB / 0.5605 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1219, allocations: 3.984 kB / 0.5605 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1219, allocations: 3.953 kB / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1219, allocations: 0 / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1219, allocations: 0 / 0.5605 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.1221, allocations: 179.4 kB / 0.5607 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.1222, allocations: 77.11 kB / 0.5608 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1222, allocations: 8 kB / 0.5608 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1222, allocations: 15.97 kB / 0.5608 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.1223, allocations: 0 / 0.5608 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1223, allocations: 4 kB / 0.5608 GB, free: 7.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.383e-05/0.1223, allocations: 87.27 kB / 0.5609 GB, free: 7.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1223, allocations: 0 / 0.5609 GB, free: 7.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.1225, allocations: 8 kB / 0.5609 GB, free: 7.223 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004072/0.123, allocations: 0.713 MB / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1231, allocations: 51.98 kB / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1231, allocations: 0 / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.1232, allocations: 27.98 kB / 0.5616 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1235, allocations: 8.078 kB / 0.5616 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.1238, allocations: 146.3 kB / 0.5618 GB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.124, allocations: 0.6809 MB / 0.5625 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.124, allocations: 0 / 0.5625 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.124, allocations: 11.44 kB / 0.5625 GB, free: 5.5 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.124, allocations: 0 / 0.5625 GB, free: 5.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008829/0.1329, allocations: 1.156 MB / 0.5636 GB, free: 4.473 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.133, allocations: 181.4 kB / 0.5638 GB, free: 4.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.543, allocations: 0 / 0.5638 GB, free: 4.23 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: