Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002293/0.002293, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002486/0.002486, allocations: 277.1 kB / 309.8 MB, free: 3.465 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.075/1.075, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002977/0.002977, allocations: 99.84 kB / 0.7347 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5963, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.003006/0.5993, allocations: 0.5816 MB / 0.8284 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003409/0.5996, allocations: 38.44 kB / 0.8284 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.5997, allocations: 0 / 0.8284 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.5997, allocations: 4.906 kB / 0.8284 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.5997, allocations: 4 kB / 0.8284 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.6001, allocations: 17.48 kB / 0.8284 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.6001, allocations: 1.688 kB / 0.8285 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.6002, allocations: 1.891 kB / 0.8285 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.6002, allocations: 4.594 kB / 0.8285 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.6002, allocations: 1.281 kB / 0.8285 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.6003, allocations: 0 / 0.8285 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.6004, allocations: 17.97 kB / 0.8285 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.6004, allocations: 4.906 kB / 0.8285 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.6004, allocations: 4 kB / 0.8285 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.6005, allocations: 23.17 kB / 0.8285 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6005, allocations: 1.25 kB / 0.8285 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6006, allocations: 0 / 0.8285 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6006, allocations: 0 / 0.8285 GB, free: 2.621 MB / 0.5762 GB 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.0003236/0.6009, allocations: 324 kB / 0.8288 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.6009, allocations: 8.812 kB / 0.8288 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.802e-05/0.601, allocations: 2.125 kB / 0.8288 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.219e-05/0.601, allocations: 30.75 kB / 0.8289 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.601, allocations: 0.9375 kB / 0.8289 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/0.6011, allocations: 166.9 kB / 0.829 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.6011, allocations: 384 / 0.829 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.6011, allocations: 1.594 kB / 0.829 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.6012, allocations: 32.73 kB / 0.829 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6012, allocations: 1.156 kB / 0.829 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6012, allocations: 0 / 0.829 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6012, allocations: 4.594 kB / 0.8291 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.6013, allocations: 6.281 kB / 0.8291 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.6014, allocations: 157.1 kB / 0.8292 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.23e-05/0.6015, allocations: 15.95 kB / 0.8292 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.6015, allocations: 9.641 kB / 0.8292 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.6016, allocations: 2.188 kB / 0.8292 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.6016, allocations: 36.12 kB / 0.8293 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.6016, allocations: 0 / 0.8293 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001946/0.6018, allocations: 39.89 kB / 0.8293 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.6018, allocations: 57.39 kB / 0.8294 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.29e-05/0.6019, allocations: 89.86 kB / 0.8294 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.6019, allocations: 25.7 kB / 0.8295 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.503e-05/0.6019, allocations: 82 kB / 0.8296 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.6019, allocations: 0 / 0.8296 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.602, allocations: 16.67 kB / 0.8296 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.602, allocations: 312.6 kB / 0.8299 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.6021, allocations: 1.156 kB / 0.8299 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.6021, allocations: 6.016 kB / 0.8299 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.6021, allocations: 15.08 kB / 0.8299 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6021, allocations: 1.797 kB / 0.8299 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.801e-05/0.6022, allocations: 32.67 kB / 0.8299 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6022, allocations: 13.09 kB / 0.8299 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6022, allocations: 0 / 0.8299 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.6023, allocations: 0 / 0.8299 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.6024, allocations: 2.312 kB / 0.8299 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.6024, allocations: 5.422 kB / 0.8299 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.6024, allocations: 5.031 kB / 0.8299 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.6024, allocations: 1.531 kB / 0.8299 GB, free: 1 MB / 0.5762 GB 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 7.955e-05/0.6025, allocations: 110.5 kB / 0.8301 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.6025, allocations: 4.547 kB / 0.8301 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.6027, allocations: 46.97 kB / 0.8301 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6027, allocations: 32 / 0.8301 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6027, allocations: 5.188 kB / 0.8301 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6027, allocations: 0 / 0.8301 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.166e-05/0.6028, allocations: 144.8 kB / 0.8302 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6028, allocations: 0 / 0.8302 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.6028, allocations: 3.188 kB / 0.8302 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6028, allocations: 11.86 kB / 0.8303 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.6028, allocations: 1.312 kB / 0.8303 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.6028, allocations: 0.7969 kB / 0.8303 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6028, allocations: 1.438 kB / 0.8303 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.6029, allocations: 60.81 kB / 0.8303 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.603, allocations: 78.8 kB / 0.8304 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.603, allocations: 8.938 kB / 0.8304 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.603, allocations: 0.7969 kB / 0.8304 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.603, allocations: 1.25 kB / 0.8304 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.6031, allocations: 6.031 kB / 0.8304 GB, free: 476 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.797e-05/0.6031, allocations: 75.28 kB / 0.8305 GB, free: 400 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6031, allocations: 0 / 0.8305 GB, free: 400 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003201/0.6034, allocations: 9.25 kB / 0.8305 GB, free: 396 kB / 0.5762 GB 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.0005758/0.604, allocations: 0.5968 MB / 0.8311 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.6041, allocations: 12.36 kB / 0.8311 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6041, allocations: 0 / 0.8311 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.6041, allocations: 7.562 kB / 0.8311 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.6043, allocations: 10.5 kB / 0.8311 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.6048, allocations: 99.83 kB / 0.8312 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.6053, allocations: 0.6723 MB / 0.8319 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.6053, allocations: 3.266 kB / 0.8319 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.6053, allocations: 12.2 kB / 0.8319 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6053, allocations: 0 / 0.8319 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.6287, allocations: 1.072 MB / 0.8329 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.788, allocations: 11.8 kB / 0.8329 GB, free: 14.58 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.842515669995919] Failed to read output from testmodel.py, exit status != 0: 8.909631642978638 8.923878634 8.320346619 Calling exit ...