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.001487/0.001487, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001716/0.001716, allocations: 190.6 kB / 16.91 MB, free: 6.195 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.352/1.352, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7233/0.7233, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.349, allocations: 76.18 MB / 0.556 GB, free: 36.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002211/0.3512, allocations: 1.488 MB / 0.5575 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.3515, allocations: 96.92 kB / 0.5576 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.3515, allocations: 0 / 0.5576 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.437e-05/0.3516, allocations: 3.938 kB / 0.5576 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.3516, allocations: 2 kB / 0.5576 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3518, allocations: 13.64 kB / 0.5576 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.3519, allocations: 28.3 kB / 0.5576 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.76e-05/0.352, allocations: 9.875 kB / 0.5576 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.352, allocations: 6.375 kB / 0.5576 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.107e-05/0.352, allocations: 18.38 kB / 0.5576 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.352, allocations: 2.281 kB / 0.5576 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.122e-05/0.3521, allocations: 21.39 kB / 0.5577 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.3522, allocations: 7.375 kB / 0.5577 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.3522, allocations: 18.38 kB / 0.5577 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.082e-05/0.3523, allocations: 35.03 kB / 0.5577 GB, free: 35.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3523, allocations: 1.281 kB / 0.5577 GB, free: 35.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3523, allocations: 0 / 0.5577 GB, free: 35.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.3523, allocations: 0 / 0.5577 GB, free: 35.3 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.0003118/0.3526, allocations: 342.6 kB / 0.5581 GB, free: 34.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.3527, allocations: 9.844 kB / 0.5581 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.106e-05/0.3527, allocations: 37.41 kB / 0.5581 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.3527, allocations: 2.25 kB / 0.5581 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.53e-05/0.3528, allocations: 169.4 kB / 0.5583 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.3528, allocations: 3.406 kB / 0.5583 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.3528, allocations: 3.281 kB / 0.5583 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.353, allocations: 55.86 kB / 0.5583 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.353, allocations: 3.938 kB / 0.5583 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.353, allocations: 2.531 kB / 0.5583 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.353, allocations: 0.6562 kB / 0.5583 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3532, allocations: 37.09 kB / 0.5584 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.3534, allocations: 252.5 kB / 0.5586 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3535, allocations: 48.48 kB / 0.5586 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.3536, allocations: 22.94 kB / 0.5587 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3537, allocations: 12.34 kB / 0.5587 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-06/0.3537, allocations: 31.31 kB / 0.5587 GB, free: 34.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3537, allocations: 2.938 kB / 0.5587 GB, free: 34.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003105/0.354, allocations: 85.33 kB / 0.5588 GB, free: 34.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.354, allocations: 53.47 kB / 0.5588 GB, free: 34.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.3541, allocations: 108.6 kB / 0.559 GB, free: 34.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.3541, allocations: 27.8 kB / 0.559 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.3541, allocations: 84.22 kB / 0.5591 GB, free: 33.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.3541, allocations: 7.906 kB / 0.5591 GB, free: 33.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.3542, allocations: 19.25 kB / 0.5591 GB, free: 33.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.3542, allocations: 310.8 kB / 0.5594 GB, free: 33.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.3543, allocations: 23.22 kB / 0.5594 GB, free: 33.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.3544, allocations: 17.73 kB / 0.5594 GB, free: 33.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3545, allocations: 44.38 kB / 0.5595 GB, free: 33.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3545, allocations: 3.938 kB / 0.5595 GB, free: 33.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.3547, allocations: 68.86 kB / 0.5595 GB, free: 33.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3547, allocations: 6.094 kB / 0.5595 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.3547, allocations: 0.9375 kB / 0.5595 GB, free: 33.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.3547, allocations: 3.938 kB / 0.5595 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.3548, allocations: 10.78 kB / 0.5596 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3548, allocations: 1.062 kB / 0.5596 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.3549, allocations: 10.02 kB / 0.5596 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.3549, allocations: 2 kB / 0.5596 GB, free: 33.56 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.209e-05/0.3549, allocations: 122 kB / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.355, allocations: 1.188 kB / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.3552, allocations: 73.47 kB / 0.5598 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3552, allocations: 0.8125 kB / 0.5598 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3552, allocations: 1.531 kB / 0.5598 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3552, allocations: 1.516 kB / 0.5598 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.3553, allocations: 170.2 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3553, allocations: 1.344 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.3554, allocations: 8.797 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3554, allocations: 2.062 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3554, allocations: 0.5 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3554, allocations: 0 / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3554, allocations: 5.797 kB / 0.5599 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.3556, allocations: 173.8 kB / 0.5601 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.3557, allocations: 83.14 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.3557, allocations: 2.031 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.3558, allocations: 5.938 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.3558, allocations: 2.688 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.3558, allocations: 2 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.3558, allocations: 91.97 kB / 0.5603 GB, free: 32.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3558, allocations: 0 / 0.5603 GB, free: 32.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3561, allocations: 8.75 kB / 0.5603 GB, free: 32.86 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.0003836/0.3564, allocations: 0.7074 MB / 0.561 GB, free: 32.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3567, allocations: 39.28 kB / 0.561 GB, free: 32.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3567, allocations: 1.812 kB / 0.561 GB, free: 32.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.3568, allocations: 22.14 kB / 0.561 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.357, allocations: 7.484 kB / 0.561 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.3574, allocations: 156.8 kB / 0.5612 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3575, allocations: 0.6776 MB / 0.5619 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.3575, allocations: 2.453 kB / 0.5619 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.3576, allocations: 10.94 kB / 0.5619 GB, free: 31.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3576, allocations: 0 / 0.5619 GB, free: 31.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/0.5149, allocations: 1.272 MB / 0.5631 GB, free: 31.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.5151, allocations: 188 kB / 0.5633 GB, free: 30.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.561, allocations: 3.938 kB / 0.5633 GB, free: 30.84 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)