Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001507/0.001507, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001916/0.001916, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002419/0.002419, allocations: 287.8 kB / 309.8 MB, free: 3.441 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.115/1.115, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 178] 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.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002834/0.002834, allocations: 108.2 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6217, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002666/0.6244, allocations: 1.472 MB / 0.8292 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.6247, allocations: 94.33 kB / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.6247, allocations: 0 / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.435e-05/0.6248, allocations: 0.6562 kB / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.6248, allocations: 7.359 kB / 0.8293 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.6251, allocations: 25.84 kB / 0.8293 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.6252, allocations: 21.67 kB / 0.8294 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.6253, allocations: 10.62 kB / 0.8294 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.6253, allocations: 10.83 kB / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.356e-05/0.6253, allocations: 13.75 kB / 0.8294 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.6254, allocations: 2.625 kB / 0.8294 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.6255, allocations: 21.86 kB / 0.8294 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.6255, allocations: 7.797 kB / 0.8294 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.6255, allocations: 11.36 kB / 0.8294 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.6257, allocations: 41.84 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6257, allocations: 4 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6257, allocations: 0 / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.6257, allocations: 3.375 kB / 0.8295 GB, free: 1.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004149/0.6261, allocations: 353.2 kB / 0.8298 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.6261, allocations: 8.672 kB / 0.8298 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.714e-05/0.6261, allocations: 192 / 0.8298 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.827e-05/0.6262, allocations: 33.38 kB / 0.8299 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.6262, allocations: 1.594 kB / 0.8299 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.912e-05/0.6263, allocations: 172.4 kB / 0.83 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.6263, allocations: 384 / 0.83 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.6263, allocations: 3 kB / 0.83 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.6265, allocations: 58.47 kB / 0.8301 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6265, allocations: 0 / 0.8301 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.6265, allocations: 0 / 0.8301 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.6265, allocations: 0.75 kB / 0.8301 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.6267, allocations: 41.98 kB / 0.8301 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.627, allocations: 253.5 kB / 0.8304 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.6271, allocations: 44.31 kB / 0.8304 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.6272, allocations: 25.8 kB / 0.8304 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.6272, allocations: 0.6562 kB / 0.8304 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.6272, allocations: 36.75 kB / 0.8305 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.6272, allocations: 0 / 0.8305 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003665/0.6276, allocations: 85.7 kB / 0.8306 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.6276, allocations: 54.41 kB / 0.8306 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.6277, allocations: 103.4 kB / 0.8307 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.6277, allocations: 25.7 kB / 0.8307 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.6277, allocations: 94.39 kB / 0.8308 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.6278, allocations: 7.375 kB / 0.8308 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.6278, allocations: 12.95 kB / 0.8308 GB, free: 500 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.6278, allocations: 316.3 kB / 0.8311 GB, free: 176 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.6279, allocations: 15.66 kB / 0.8312 GB, free: 176 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.628, allocations: 19.7 kB / 0.8312 GB, free: 172 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.6282, allocations: 49.23 kB / 0.8312 GB, free: 152 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6282, allocations: 0 / 0.8312 GB, free: 152 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.6284, allocations: 75.64 kB / 0.8313 GB, free: 108 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6284, allocations: 9.188 kB / 0.8313 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6284, allocations: 0 / 0.8313 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6284, allocations: 0.7031 kB / 0.8313 GB, free: 104 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.6285, allocations: 15.94 kB / 0.8313 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6285, allocations: 6.562 kB / 0.8313 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.6285, allocations: 9.391 kB / 0.8313 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.6285, allocations: 0 / 0.8313 GB, free: 88 kB / 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 (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 8.283e-05/0.6286, allocations: 113.1 kB / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.6286, allocations: 3.328 kB / 0.8314 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.6289, allocations: 79.59 kB / 0.8315 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6289, allocations: 0 / 0.8315 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6289, allocations: 0.7969 kB / 0.8315 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6289, allocations: 0 / 0.8315 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.6291, allocations: 164.1 kB / 0.8317 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6291, allocations: 0 / 0.8317 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.6292, allocations: 9.25 kB / 0.8317 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.6292, allocations: 0.6094 kB / 0.8317 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.6292, allocations: 0 / 0.8317 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6292, allocations: 3.938 kB / 0.8317 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6292, allocations: 3.266 kB / 0.8317 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.6294, allocations: 169.8 kB / 0.8319 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.6295, allocations: 85.7 kB / 0.8319 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.6295, allocations: 0.6562 kB / 0.8319 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.6296, allocations: 7.453 kB / 0.8319 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.6296, allocations: 5.422 kB / 0.832 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6296, allocations: 6.625 kB / 0.832 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.6297, allocations: 86.78 kB / 0.832 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6297, allocations: 0 / 0.832 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002319/0.6299, allocations: 7.875 kB / 0.832 GB, free: 15.39 MB / 0.5919 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 (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.0006492/0.6306, allocations: 0.7026 MB / 0.8327 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.6308, allocations: 42.97 kB / 0.8328 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6308, allocations: 2.625 kB / 0.8328 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.6309, allocations: 15.75 kB / 0.8328 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.6312, allocations: 9.484 kB / 0.8328 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.6316, allocations: 154.7 kB / 0.833 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.632, allocations: 0.6772 MB / 0.8336 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.632, allocations: 3.375 kB / 0.8336 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.632, allocations: 12.19 kB / 0.8336 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.632, allocations: 11.62 kB / 0.8336 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.6498, allocations: 1.471 MB / 0.8351 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.717, allocations: 10.72 kB / 0.8351 GB, free: 13.44 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.884166725969408] Failed to read output from testmodel.py, exit status != 0: 8.839347894012462 8.852868128 8.224500174 Calling exit ...