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.001095/0.001095, allocations: 104.3 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.001158/0.001158, allocations: 191.3 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.29/1.29, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7475/0.7475, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3403, allocations: 77.92 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002588/0.343, allocations: 1.419 MB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.3433, allocations: 92.67 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.3433, allocations: 1.125 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.776e-05/0.3434, allocations: 6 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.3434, allocations: 1.766 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3436, allocations: 23.59 kB / 0.5688 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.3437, allocations: 24.62 kB / 0.5688 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.3438, allocations: 9.938 kB / 0.5688 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.3439, allocations: 5.312 kB / 0.5688 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.3439, allocations: 14.56 kB / 0.5688 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.3439, allocations: 2.125 kB / 0.5688 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.344, allocations: 21.64 kB / 0.5689 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.3441, allocations: 6.438 kB / 0.5689 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.3441, allocations: 15.64 kB / 0.5689 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.3442, allocations: 38.5 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3442, allocations: 1.156 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3442, allocations: 3.938 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3442, allocations: 0 / 0.5689 GB, free: 31.68 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.0003341/0.3446, allocations: 342.2 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3446, allocations: 10.22 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.395e-05/0.3447, allocations: 33.16 kB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.3447, allocations: 7 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.1e-05/0.3448, allocations: 170.9 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3448, allocations: 3.031 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.3448, allocations: 1.375 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.345, allocations: 54.8 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.345, allocations: 4.5 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.345, allocations: 1.656 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.345, allocations: 0.875 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3452, allocations: 37.44 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.3454, allocations: 252.9 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3455, allocations: 49.05 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.3456, allocations: 27.41 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.3457, allocations: 2.938 kB / 0.5699 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3457, allocations: 37.7 kB / 0.5699 GB, free: 30.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3457, allocations: 3.938 kB / 0.5699 GB, free: 30.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003432/0.346, allocations: 94.33 kB / 0.57 GB, free: 30.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3461, allocations: 52.44 kB / 0.5701 GB, free: 30.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.3461, allocations: 109.8 kB / 0.5702 GB, free: 30.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.3462, allocations: 26.7 kB / 0.5702 GB, free: 30.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.3462, allocations: 86.52 kB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.3462, allocations: 5.75 kB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.3462, allocations: 13.2 kB / 0.5703 GB, free: 30.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.3463, allocations: 319 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.3464, allocations: 15.56 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.3465, allocations: 24.03 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3466, allocations: 41.47 kB / 0.5707 GB, free: 29.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3466, allocations: 3.938 kB / 0.5707 GB, free: 29.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.3468, allocations: 71.58 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3468, allocations: 4.688 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3469, allocations: 1.312 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3469, allocations: 1.062 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.347, allocations: 9.141 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.347, allocations: 2.562 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.347, allocations: 7.406 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.347, allocations: 0 / 0.5708 GB, free: 29.93 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 5.369e-05/0.3471, allocations: 117.6 kB / 0.5709 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3471, allocations: 1.094 kB / 0.5709 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.3474, allocations: 81.64 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3474, allocations: 1.484 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3474, allocations: 1.312 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3474, allocations: 1.781 kB / 0.571 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.3475, allocations: 169.7 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3475, allocations: 1.312 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.3476, allocations: 9.156 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3476, allocations: 1.719 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3476, allocations: 1.344 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3476, allocations: 0 / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3476, allocations: 1.094 kB / 0.5711 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3479, allocations: 173.3 kB / 0.5713 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.3479, allocations: 78.73 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3479, allocations: 7.031 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.348, allocations: 9.938 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.348, allocations: 2.156 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.348, allocations: 2.219 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.3481, allocations: 87.19 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3481, allocations: 0.5312 kB / 0.5715 GB, free: 29.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.3483, allocations: 7.844 kB / 0.5715 GB, free: 29.23 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.0004131/0.3487, allocations: 0.7044 MB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.349, allocations: 43.19 kB / 0.5722 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.349, allocations: 1.156 kB / 0.5722 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.3491, allocations: 24.7 kB / 0.5722 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.3493, allocations: 6.875 kB / 0.5723 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.3497, allocations: 151.8 kB / 0.5724 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.998e-05/0.3498, allocations: 0.6779 MB / 0.5731 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.108e-05/0.3498, allocations: 2.422 kB / 0.5731 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.3499, allocations: 13.84 kB / 0.5731 GB, free: 27.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3499, allocations: 0 / 0.5731 GB, free: 27.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.3662, allocations: 1.388 MB / 0.5744 GB, free: 27.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/8.98, allocations: 6.297 kB / 0.5744 GB, free: 27.36 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 & /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)