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.0007342/0.0007342, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007166/0.0007165, allocations: 172.7 kB / 16.58 MB, free: 6.488 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.164/1.164, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5962/0.5962, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002737, allocations: 8 kB / 493.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1174, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0004795/0.1179, allocations: 295.1 kB / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000112/0.1181, allocations: 35.86 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-06/0.1181, allocations: 0 / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.819e-06/0.1181, allocations: 0 / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.255e-06/0.1181, allocations: 0 / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.1182, allocations: 8 kB / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 1.727e-05/0.1182, allocations: 0 / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.095e-05/0.1183, allocations: 3.984 kB / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.284e-05/0.1183, allocations: 11.98 kB / 0.5573 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.233e-05/0.1183, allocations: 4 kB / 0.5573 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.1183, allocations: 0 / 0.5573 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.1184, allocations: 11.98 kB / 0.5573 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-06/0.1184, allocations: 4 kB / 0.5573 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.1184, allocations: 29.64 kB / 0.5573 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.925e-05/0.1185, allocations: 7.984 kB / 0.5573 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1185, allocations: 0 / 0.5573 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1185, allocations: 4 kB / 0.5573 GB, free: 11.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.194e-06/0.1185, allocations: 0 / 0.5573 GB, free: 11.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001925/0.1187, allocations: 315.4 kB / 0.5576 GB, free: 10.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.1187, allocations: 12.09 kB / 0.5576 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.157e-05/0.1187, allocations: 30.56 kB / 0.5577 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.179e-05/0.1188, allocations: 0 / 0.5577 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.049e-05/0.1188, allocations: 159.1 kB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.1189, allocations: 3.984 kB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.1189, allocations: 0 / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.964e-05/0.1189, allocations: 37.66 kB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-06/0.1189, allocations: 0 / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.1189, allocations: 3.984 kB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-06/0.119, allocations: 4 kB / 0.5579 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.47e-05/0.119, allocations: 3.938 kB / 0.5579 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.84e-05/0.1191, allocations: 145.7 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.226e-05/0.1191, allocations: 18.52 kB / 0.558 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-06/0.1191, allocations: 4.953 kB / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1192, allocations: 8 kB / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1192, allocations: 42.5 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1192, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 8.123e-05/0.1193, allocations: 45.58 kB / 0.5581 GB, free: 10.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1193, allocations: 51.41 kB / 0.5582 GB, free: 10.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.725e-05/0.1193, allocations: 89.86 kB / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.1194, allocations: 25.7 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.089e-05/0.1194, allocations: 80.14 kB / 0.5583 GB, free: 9.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.1194, allocations: 0 / 0.5583 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-06/0.1194, allocations: 0 / 0.5583 GB, free: 9.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1195, allocations: 319 kB / 0.5586 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-06/0.1196, allocations: 4 kB / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.1196, allocations: 0 / 0.5587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.308e-05/0.1196, allocations: 3.984 kB / 0.5587 GB, free: 9.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1196, allocations: 0 / 0.5587 GB, free: 9.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.65e-05/0.1196, allocations: 37.64 kB / 0.5587 GB, free: 9.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.1197, allocations: 4 kB / 0.5587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.1197, allocations: 0 / 0.5587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.1197, allocations: 0 / 0.5587 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-05/0.1197, allocations: 12.05 kB / 0.5587 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.1197, allocations: 0 / 0.5587 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.1197, allocations: 3.906 kB / 0.5587 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1198, allocations: 0 / 0.5587 GB, free: 9.57 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 (1): * Single equations (assignments): 1 * 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.0001063/0.1199, allocations: 114.5 kB / 0.5588 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.1199, allocations: 0 / 0.5588 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.149e-05/0.12, allocations: 40.83 kB / 0.5589 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.12, allocations: 0 / 0.5589 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.12, allocations: 7.953 kB / 0.5589 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.12, allocations: 3.984 kB / 0.5589 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.096e-05/0.1201, allocations: 145.7 kB / 0.559 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1201, allocations: 0 / 0.559 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.1201, allocations: 7.938 kB / 0.559 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1201, allocations: 0 / 0.559 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.1201, allocations: 0 / 0.559 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1201, allocations: 0 / 0.559 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1201, allocations: 0 / 0.559 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.775e-05/0.1202, allocations: 69.11 kB / 0.5591 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.1202, allocations: 81.05 kB / 0.5592 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.1202, allocations: 0 / 0.5592 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.1202, allocations: 0 / 0.5592 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1203, allocations: 3.938 kB / 0.5592 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1203, allocations: 4 kB / 0.5592 GB, free: 8.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.1203, allocations: 79.3 kB / 0.5592 GB, free: 8.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1203, allocations: 4 kB / 0.5592 GB, free: 8.914 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001691/0.1205, allocations: 7.953 kB / 0.5593 GB, free: 8.906 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 (1): * Single equations (assignments): 1 * 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.0003123/0.1208, allocations: 0.5978 MB / 0.5598 GB, free: 8.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.957e-05/0.1209, allocations: 12.03 kB / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1209, allocations: 0 / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.1209, allocations: 0 / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.121, allocations: 0 / 0.5599 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002035/0.1212, allocations: 110.4 kB / 0.56 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1215, allocations: 0.6692 MB / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.48e-05/0.1215, allocations: 12.11 kB / 0.5606 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.1215, allocations: 7.438 kB / 0.5606 GB, free: 7.406 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1215, allocations: 0 / 0.5606 GB, free: 7.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009119/0.1307, allocations: 0.8281 MB / 0.5614 GB, free: 6.727 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.1309, allocations: 189.1 kB / 0.5616 GB, free: 6.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.396/1.527, allocations: 0 / 0.5616 GB, free: 6.484 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: