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.001371/0.001371, allocations: 96.27 kB / 15.69 MB, free: 476 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.002013/0.002012, allocations: 176.6 kB / 16.57 MB, free: 6.859 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.853/1.853, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.907/0.907, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006073/0.0006074, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2571, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002469/0.2596, allocations: 1.142 MB / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.26, allocations: 88.62 kB / 0.5579 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.2601, allocations: 0 / 0.5579 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.2601, allocations: 0 / 0.5579 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.2602, allocations: 3.984 kB / 0.5579 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2605, allocations: 19.86 kB / 0.5579 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.2606, allocations: 15.98 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2608, allocations: 7.984 kB / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.2608, allocations: 8 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.2609, allocations: 11.92 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2609, allocations: 0 / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.2611, allocations: 15.98 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.2611, allocations: 3.938 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.2612, allocations: 33.7 kB / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.2613, allocations: 27.88 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2613, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2613, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2613, allocations: 0 / 0.5581 GB, free: 10.29 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.0005856/0.2619, allocations: 351.5 kB / 0.5584 GB, free: 9.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.262, allocations: 8.031 kB / 0.5584 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.2621, allocations: 30.56 kB / 0.5584 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.2621, allocations: 0 / 0.5584 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2623, allocations: 167.1 kB / 0.5586 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2623, allocations: 0 / 0.5586 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2623, allocations: 4 kB / 0.5586 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2626, allocations: 65.62 kB / 0.5587 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2626, allocations: 0 / 0.5587 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2626, allocations: 0 / 0.5587 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2627, allocations: 0 / 0.5587 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.2629, allocations: 51.91 kB / 0.5587 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.2634, allocations: 249 kB / 0.559 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.2636, allocations: 50.5 kB / 0.559 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.2637, allocations: 4 kB / 0.559 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2637, allocations: 38.62 kB / 0.559 GB, free: 9.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.2638, allocations: 3.938 kB / 0.559 GB, free: 9.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005389/0.2643, allocations: 105.5 kB / 0.5591 GB, free: 9.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.2644, allocations: 55.41 kB / 0.5592 GB, free: 8.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2645, allocations: 105.8 kB / 0.5593 GB, free: 8.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2646, allocations: 25.7 kB / 0.5593 GB, free: 8.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.2646, allocations: 84.14 kB / 0.5594 GB, free: 8.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.2647, allocations: 7.844 kB / 0.5594 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.2647, allocations: 4.125 kB / 0.5594 GB, free: 8.703 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.2649, allocations: 318.8 kB / 0.5597 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2651, allocations: 19.98 kB / 0.5597 GB, free: 8.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2652, allocations: 23.98 kB / 0.5598 GB, free: 8.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.2654, allocations: 28.05 kB / 0.5598 GB, free: 8.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2654, allocations: 0 / 0.5598 GB, free: 8.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003172/0.2657, allocations: 85.55 kB / 0.5599 GB, free: 8.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.2658, allocations: 8.031 kB / 0.5599 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2658, allocations: 0 / 0.5599 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.2658, allocations: 4 kB / 0.5599 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.266, allocations: 11.98 kB / 0.5599 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.266, allocations: 0 / 0.5599 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.2661, allocations: 8.234 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2661, allocations: 7.938 kB / 0.5599 GB, free: 8.184 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 0.0001323/0.2662, allocations: 115.6 kB / 0.56 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.2663, allocations: 7.859 kB / 0.56 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.2667, allocations: 93.11 kB / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2667, allocations: 0 / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2667, allocations: 4.031 kB / 0.5601 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2667, allocations: 4 kB / 0.5601 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.267, allocations: 161.7 kB / 0.5603 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.267, allocations: 0 / 0.5603 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.2671, allocations: 11.98 kB / 0.5603 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.2671, allocations: 4 kB / 0.5603 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2671, allocations: 3.953 kB / 0.5603 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2671, allocations: 0 / 0.5603 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2672, allocations: 0 / 0.5603 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.2675, allocations: 175.5 kB / 0.5605 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.2676, allocations: 81.09 kB / 0.5605 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2677, allocations: 3.938 kB / 0.5605 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2678, allocations: 15.98 kB / 0.5606 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.2679, allocations: 3.984 kB / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2679, allocations: 7.938 kB / 0.5606 GB, free: 7.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.671e-05/0.268, allocations: 83.28 kB / 0.5606 GB, free: 7.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.268, allocations: 0 / 0.5606 GB, free: 7.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.2684, allocations: 12 kB / 0.5607 GB, free: 7.312 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.000887/0.2693, allocations: 0.7131 MB / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.2696, allocations: 48 kB / 0.5614 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2696, allocations: 0 / 0.5614 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.2698, allocations: 31.91 kB / 0.5614 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.27, allocations: 8.078 kB / 0.5614 GB, free: 6.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.2706, allocations: 142.4 kB / 0.5616 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.271, allocations: 0.6848 MB / 0.5622 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.271, allocations: 0 / 0.5622 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.2711, allocations: 15.44 kB / 0.5623 GB, free: 5.586 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2711, allocations: 0 / 0.5623 GB, free: 5.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.2902, allocations: 1.146 MB / 0.5634 GB, free: 4.566 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003676/0.2907, allocations: 161.9 kB / 0.5635 GB, free: 4.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/3.396, allocations: 0 / 0.5635 GB, free: 4.332 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: