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.001415/0.001416, allocations: 107 kB / 16.27 MB, free: 5.922 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.001246/0.001246, allocations: 188.4 kB / 17.19 MB, free: 5.566 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7502/0.7502, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 68.09 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3319, allocations: 77.93 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001782/0.3337, allocations: 0.5608 MB / 0.5678 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001959/0.3339, allocations: 40.67 kB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.076e-05/0.334, allocations: 0 / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.334, allocations: 0 / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-06/0.334, allocations: 0.5312 kB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.3342, allocations: 15.09 kB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.456e-05/0.3343, allocations: 10.52 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.3343, allocations: 2.109 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.217e-05/0.3343, allocations: 0 / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.3344, allocations: 1.75 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3344, allocations: 2.062 kB / 0.5679 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.3345, allocations: 17.69 kB / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.3345, allocations: 0 / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.3345, allocations: 0 / 0.5679 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.3346, allocations: 20.73 kB / 0.568 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3346, allocations: 0.5625 kB / 0.568 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3346, allocations: 0 / 0.568 GB, free: 32.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3346, allocations: 2.062 kB / 0.568 GB, free: 32.32 MB / 446.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.0002225/0.3349, allocations: 317.8 kB / 0.5683 GB, free: 31.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3349, allocations: 11 kB / 0.5683 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/0.3349, allocations: 35.38 kB / 0.5683 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.335, allocations: 2.969 kB / 0.5683 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.249e-05/0.335, allocations: 162 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.335, allocations: 1.344 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.3351, allocations: 1.531 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.3351, allocations: 35.66 kB / 0.5685 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.3352, allocations: 3.938 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.3352, allocations: 0 / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3352, allocations: 3.094 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.3352, allocations: 2.344 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.3353, allocations: 148.1 kB / 0.5686 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.57e-05/0.3354, allocations: 21.28 kB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.3354, allocations: 7 kB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.3354, allocations: 11.16 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3354, allocations: 32.91 kB / 0.5687 GB, free: 31.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3354, allocations: 1.469 kB / 0.5687 GB, free: 31.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.3356, allocations: 39.75 kB / 0.5688 GB, free: 31.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.3356, allocations: 53.56 kB / 0.5688 GB, free: 31.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.407e-05/0.3356, allocations: 90.92 kB / 0.5689 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.3356, allocations: 25.7 kB / 0.5689 GB, free: 31.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-06/0.3356, allocations: 80.73 kB / 0.569 GB, free: 31.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.3357, allocations: 7.25 kB / 0.569 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.3357, allocations: 17.36 kB / 0.569 GB, free: 31.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.3357, allocations: 310.8 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-06/0.3358, allocations: 2.875 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.3358, allocations: 6.406 kB / 0.5693 GB, free: 30.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.3358, allocations: 8.672 kB / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3358, allocations: 0 / 0.5693 GB, free: 30.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.736e-05/0.3359, allocations: 37.16 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3359, allocations: 6.5 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3359, allocations: 5.125 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.3359, allocations: 0 / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.3359, allocations: 4.016 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.336, allocations: 0 / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.336, allocations: 2.641 kB / 0.5694 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.336, allocations: 1.25 kB / 0.5694 GB, free: 30.71 MB / 446.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 3.947e-05/0.336, allocations: 112.6 kB / 0.5695 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.336, allocations: 0.5 kB / 0.5695 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.84e-05/0.3361, allocations: 44.73 kB / 0.5695 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3361, allocations: 0 / 0.5695 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3361, allocations: 2.625 kB / 0.5695 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3362, allocations: 5.109 kB / 0.5695 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.547e-05/0.3362, allocations: 147.9 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3362, allocations: 3.938 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.3362, allocations: 8.25 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3362, allocations: 0 / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.3362, allocations: 6.5 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3363, allocations: 0.5156 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3363, allocations: 1.125 kB / 0.5697 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.642e-05/0.3363, allocations: 56.59 kB / 0.5698 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.3363, allocations: 81.86 kB / 0.5698 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3363, allocations: 5.797 kB / 0.5698 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.3364, allocations: 0 / 0.5698 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.3364, allocations: 2.109 kB / 0.5698 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3364, allocations: 2.969 kB / 0.5698 GB, free: 30.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.015e-05/0.3364, allocations: 80.38 kB / 0.5699 GB, free: 30.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3364, allocations: 0 / 0.5699 GB, free: 30.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.3366, allocations: 4.156 kB / 0.5699 GB, free: 30.11 MB / 446.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.0002252/0.3369, allocations: 0.605 MB / 0.5705 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.724e-05/0.3369, allocations: 5.734 kB / 0.5705 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3369, allocations: 6.219 kB / 0.5705 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.337, allocations: 1.156 kB / 0.5705 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.3371, allocations: 4.188 kB / 0.5705 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.3373, allocations: 113.4 kB / 0.5706 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.676e-05/0.3374, allocations: 0.6715 MB / 0.5713 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.5e-05/0.3374, allocations: 2.812 kB / 0.5713 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.3374, allocations: 10.34 kB / 0.5713 GB, free: 28.66 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3375, allocations: 0.5 kB / 0.5713 GB, free: 28.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.3525, allocations: 0.9845 MB / 0.5723 GB, free: 28.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.426, allocations: 20.94 kB / 0.5723 GB, free: 28.35 MB / 446.1 MB (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)