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.001289/0.00129, allocations: 100.1 kB / 15.88 MB, free: 12 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.001296/0.001296, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.281/1.281, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6504/0.6504, allocations: 115.3 MB / 406 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.84 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 76.18 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002507/0.1355, allocations: 1.489 MB / 0.5573 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.1359, allocations: 96.58 kB / 0.5574 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.136, allocations: 7.938 kB / 0.5574 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.948e-05/0.136, allocations: 0 / 0.5574 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.1361, allocations: 3.938 kB / 0.5574 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.1363, allocations: 15.97 kB / 0.5574 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.1364, allocations: 31.86 kB / 0.5574 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.1365, allocations: 8 kB / 0.5575 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.1365, allocations: 0 / 0.5575 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.1366, allocations: 15.92 kB / 0.5575 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1366, allocations: 4 kB / 0.5575 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.1367, allocations: 15.98 kB / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.1367, allocations: 3.984 kB / 0.5575 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.1367, allocations: 11.94 kB / 0.5575 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1369, allocations: 39.88 kB / 0.5575 GB, free: 9.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1369, allocations: 0 / 0.5575 GB, free: 9.008 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1369, allocations: 7.938 kB / 0.5575 GB, free: 9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1369, allocations: 4 kB / 0.5575 GB, free: 8.996 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.0004342/0.1373, allocations: 339.7 kB / 0.5579 GB, free: 8.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1374, allocations: 12.03 kB / 0.5579 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.1374, allocations: 30.75 kB / 0.5579 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.1374, allocations: 0.9375 kB / 0.5579 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1376, allocations: 168.3 kB / 0.5581 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1376, allocations: 384 / 0.5581 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1376, allocations: 12.34 kB / 0.5581 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1378, allocations: 46.25 kB / 0.5581 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1378, allocations: 11.92 kB / 0.5581 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1378, allocations: 0 / 0.5581 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1378, allocations: 0 / 0.5581 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.138, allocations: 35.91 kB / 0.5582 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.1383, allocations: 257 kB / 0.5584 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1384, allocations: 46.48 kB / 0.5585 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.1385, allocations: 32.84 kB / 0.5585 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1385, allocations: 0 / 0.5585 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.1386, allocations: 34.56 kB / 0.5585 GB, free: 7.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1386, allocations: 4 kB / 0.5585 GB, free: 7.812 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.1389, allocations: 85.58 kB / 0.5586 GB, free: 7.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.139, allocations: 55.41 kB / 0.5587 GB, free: 7.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.1391, allocations: 105.8 kB / 0.5588 GB, free: 7.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1391, allocations: 25.7 kB / 0.5588 GB, free: 7.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.1391, allocations: 84.14 kB / 0.5589 GB, free: 7.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1392, allocations: 11.97 kB / 0.5589 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1392, allocations: 17.7 kB / 0.5589 GB, free: 7.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1393, allocations: 314.8 kB / 0.5592 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.1394, allocations: 19.92 kB / 0.5592 GB, free: 7.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.1395, allocations: 23.97 kB / 0.5592 GB, free: 7.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1396, allocations: 44.83 kB / 0.5593 GB, free: 6.984 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1396, allocations: 3.938 kB / 0.5593 GB, free: 6.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.1398, allocations: 69.56 kB / 0.5594 GB, free: 6.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1399, allocations: 9.719 kB / 0.5594 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1399, allocations: 0 / 0.5594 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1399, allocations: 0 / 0.5594 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.14, allocations: 11.98 kB / 0.5594 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.14, allocations: 0 / 0.5594 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.14, allocations: 8.031 kB / 0.5594 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.14, allocations: 3.984 kB / 0.5594 GB, free: 6.875 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/0.1401, allocations: 113.8 kB / 0.5595 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1402, allocations: 4 kB / 0.5595 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.1404, allocations: 77.12 kB / 0.5596 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1404, allocations: 0 / 0.5596 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1404, allocations: 4.031 kB / 0.5596 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1404, allocations: 0 / 0.5596 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.1406, allocations: 165.6 kB / 0.5597 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1406, allocations: 0 / 0.5597 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.1407, allocations: 11.98 kB / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1407, allocations: 0 / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.1407, allocations: 0 / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1407, allocations: 0 / 0.5597 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1407, allocations: 4.188 kB / 0.5598 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1409, allocations: 179.3 kB / 0.5599 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.141, allocations: 77.11 kB / 0.56 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.141, allocations: 4 kB / 0.56 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.1411, allocations: 7.984 kB / 0.56 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.1411, allocations: 4 kB / 0.56 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1411, allocations: 0 / 0.56 GB, free: 6.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.1412, allocations: 91.3 kB / 0.5601 GB, free: 6.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1412, allocations: 0 / 0.5601 GB, free: 6.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1414, allocations: 8 kB / 0.5601 GB, free: 6.039 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 (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.000569/0.142, allocations: 0.6968 MB / 0.5608 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1422, allocations: 47.89 kB / 0.5608 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1422, allocations: 4 kB / 0.5608 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.1423, allocations: 15.98 kB / 0.5609 GB, free: 5.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1426, allocations: 11.91 kB / 0.5609 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.143, allocations: 161 kB / 0.561 GB, free: 5.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1433, allocations: 0.677 MB / 0.5617 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.822e-05/0.1434, allocations: 4 kB / 0.5617 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.1434, allocations: 7.438 kB / 0.5617 GB, free: 4.328 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1434, allocations: 3.938 kB / 0.5617 GB, free: 4.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3072/0.4506, allocations: 1.238 MB / 0.5629 GB, free: 3.188 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002957/0.451, allocations: 181.5 kB / 0.5631 GB, free: 2.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.392, allocations: 0 / 0.5631 GB, free: 2.938 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/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)