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.001081/0.00108, allocations: 106.8 kB / 16.27 MB, free: 5.93 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.00112/0.00112, allocations: 187.9 kB / 17.2 MB, free: 5.574 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7331/0.7331, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 77.91 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002654/0.3424, allocations: 1.424 MB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.3427, allocations: 95.34 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.3427, allocations: 1.25 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.365e-05/0.3428, allocations: 6.625 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.3429, allocations: 5.844 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3431, allocations: 21.75 kB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.3431, allocations: 26.33 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.3432, allocations: 13.72 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.3433, allocations: 4.375 kB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.3433, allocations: 15.17 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3433, allocations: 2.781 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.3434, allocations: 17.98 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.3435, allocations: 7.609 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.3435, allocations: 11.39 kB / 0.5689 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3436, allocations: 39.11 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3436, allocations: 0 / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3436, allocations: 0.6875 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.3437, allocations: 1.156 kB / 0.5689 GB, free: 31.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003588/0.344, allocations: 343.3 kB / 0.5693 GB, free: 31.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3441, allocations: 9.844 kB / 0.5693 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.3441, allocations: 37.09 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.3441, allocations: 6.438 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.477e-05/0.3442, allocations: 171.4 kB / 0.5695 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3442, allocations: 5.188 kB / 0.5695 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-06/0.3442, allocations: 1.719 kB / 0.5695 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.3444, allocations: 55.16 kB / 0.5695 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3444, allocations: 3.938 kB / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3444, allocations: 0 / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3445, allocations: 1.094 kB / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3446, allocations: 36.58 kB / 0.5696 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.3449, allocations: 252.5 kB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.345, allocations: 49.89 kB / 0.5699 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.838e-05/0.3451, allocations: 26.83 kB / 0.5699 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.3452, allocations: 6.25 kB / 0.5699 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.3452, allocations: 33.28 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3452, allocations: 0.5938 kB / 0.5699 GB, free: 30.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000344/0.3456, allocations: 95.09 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.3456, allocations: 52.41 kB / 0.5701 GB, free: 30.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.3456, allocations: 105.5 kB / 0.5702 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.3457, allocations: 26.77 kB / 0.5702 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.3457, allocations: 83.53 kB / 0.5703 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.3457, allocations: 11.31 kB / 0.5703 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.3457, allocations: 11.94 kB / 0.5703 GB, free: 30.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.3458, allocations: 314 kB / 0.5706 GB, free: 29.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.3459, allocations: 21.56 kB / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.346, allocations: 15.2 kB / 0.5706 GB, free: 29.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3461, allocations: 49.86 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3461, allocations: 6.125 kB / 0.5707 GB, free: 29.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001879/0.3463, allocations: 71.53 kB / 0.5707 GB, free: 29.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3464, allocations: 4.375 kB / 0.5707 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3464, allocations: 2.094 kB / 0.5707 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3464, allocations: 0 / 0.5707 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.3465, allocations: 11.33 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3465, allocations: 0 / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.3465, allocations: 7.656 kB / 0.5708 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3465, allocations: 5.234 kB / 0.5708 GB, free: 29.8 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 (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 4.762e-05/0.3466, allocations: 116.7 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.3466, allocations: 2.938 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.3468, allocations: 81.53 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3469, allocations: 1.25 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3469, allocations: 1.094 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3469, allocations: 0 / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.347, allocations: 166.9 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.347, allocations: 2.25 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.3471, allocations: 8.609 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3471, allocations: 0.5625 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.3471, allocations: 1.938 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3471, allocations: 0.5312 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3471, allocations: 2.031 kB / 0.5711 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.3473, allocations: 175.7 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.3473, allocations: 78.86 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3474, allocations: 2.5 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.3474, allocations: 5.781 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.3475, allocations: 3.797 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.3475, allocations: 1.25 kB / 0.5714 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.935e-05/0.3475, allocations: 88.19 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3475, allocations: 0 / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.3478, allocations: 7.906 kB / 0.5715 GB, free: 29.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 (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.0004203/0.3482, allocations: 0.7039 MB / 0.5722 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.3484, allocations: 39.89 kB / 0.5722 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3484, allocations: 0 / 0.5722 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.3485, allocations: 26.77 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3488, allocations: 7.109 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.3492, allocations: 156 kB / 0.5724 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3493, allocations: 0.6821 MB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.3494, allocations: 2.938 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.3494, allocations: 9.391 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3494, allocations: 3.438 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.3677, allocations: 1.389 MB / 0.5744 GB, free: 27.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.38, allocations: 22.11 kB / 0.5745 GB, free: 27.21 MB / 446.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)