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.001117/0.001117, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001354/0.001354, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8451/0.8451, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001388/0.001388, allocations: 230.4 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.646/0.646, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.361e-05, allocations: 4.953 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.001941/0.001964, allocations: 1.464 MB / 0.6477 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.002318, allocations: 92.59 kB / 0.6478 GB, free: 296 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.002352, allocations: 0 / 0.6478 GB, free: 296 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.272e-05/0.002415, allocations: 3.984 kB / 0.6478 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.002449, allocations: 7.938 kB / 0.6478 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.00271, allocations: 11.98 kB / 0.6478 GB, free: 272 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.344e-05/0.002773, allocations: 31.86 kB / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.002854, allocations: 0 / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.002889, allocations: 11.98 kB / 0.6479 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.396e-05/0.002923, allocations: 15.97 kB / 0.6479 GB, free: 212 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.002937, allocations: 8 kB / 0.6479 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.003017, allocations: 19.92 kB / 0.6479 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.003057, allocations: 15.92 kB / 0.6479 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.602e-05/0.003073, allocations: 0 / 0.6479 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.003199, allocations: 39.89 kB / 0.648 GB, free: 128 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.003201, allocations: 0 / 0.648 GB, free: 128 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003202, allocations: 0 / 0.648 GB, free: 128 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.003207, allocations: 0 / 0.648 GB, free: 128 kB / 0.5573 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.2355/0.2387, allocations: 261.6 kB / 0.6482 GB, free: 57.24 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.2387, allocations: 12.78 kB / 0.6482 GB, free: 57.24 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.834e-05/0.2388, allocations: 33.81 kB / 0.6483 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2388, allocations: 4.188 kB / 0.6483 GB, free: 57.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.269e-05/0.2389, allocations: 111 kB / 0.6484 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2389, allocations: 3.188 kB / 0.6484 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2389, allocations: 4.156 kB / 0.6484 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.2391, allocations: 51.8 kB / 0.6484 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2391, allocations: 0.7188 kB / 0.6484 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.2391, allocations: 3.5 kB / 0.6484 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2391, allocations: 7.312 kB / 0.6484 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.2392, allocations: 37.16 kB / 0.6485 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.2394, allocations: 218.6 kB / 0.6487 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/0.2395, allocations: 44.38 kB / 0.6487 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.2396, allocations: 27.03 kB / 0.6488 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.2396, allocations: 3.469 kB / 0.6488 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.2396, allocations: 38.59 kB / 0.6488 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2396, allocations: 0.6562 kB / 0.6488 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002351/0.2399, allocations: 88.64 kB / 0.6489 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2399, allocations: 52.94 kB / 0.6489 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.24, allocations: 105.5 kB / 0.649 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.24, allocations: 27.67 kB / 0.6491 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.24, allocations: 85.27 kB / 0.6491 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.24, allocations: 8.875 kB / 0.6492 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.24, allocations: 18.59 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.052e-05/0.2401, allocations: 317 kB / 0.6495 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/0.2401, allocations: 21.38 kB / 0.6495 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.2402, allocations: 19.03 kB / 0.6495 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.719e-05/0.2402, allocations: 42.2 kB / 0.6495 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2402, allocations: 0.6094 kB / 0.6496 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001088/0.2404, allocations: 78.38 kB / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2404, allocations: 6.047 kB / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2404, allocations: 0 / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2404, allocations: 6.594 kB / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.2405, allocations: 11.5 kB / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2405, allocations: 1.391 kB / 0.6496 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.2405, allocations: 6.234 kB / 0.6497 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2405, allocations: 0.6875 kB / 0.6497 GB, free: 56.05 MB / 0.5573 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 3.945e-05/0.2405, allocations: 113.9 kB / 0.6498 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.2406, allocations: 8.547 kB / 0.6498 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.2407, allocations: 77.73 kB / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2407, allocations: 0 / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2407, allocations: 1.547 kB / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2407, allocations: 1.375 kB / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.847e-05/0.2408, allocations: 128.9 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2408, allocations: 3.109 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.2408, allocations: 11.19 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2408, allocations: 5.062 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2408, allocations: 0.8125 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2408, allocations: 1.266 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2408, allocations: 3.75 kB / 0.65 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.241, allocations: 169.9 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.241, allocations: 6 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.241, allocations: 2.875 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.241, allocations: 7.078 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.2411, allocations: 8.484 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2411, allocations: 1.547 kB / 0.6502 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.2411, allocations: 87.44 kB / 0.6503 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2411, allocations: 0 / 0.6503 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001631/0.2413, allocations: 9.781 kB / 0.6503 GB, free: 55.54 MB / 0.5573 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.0002862/0.2415, allocations: 0.7051 MB / 0.651 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.2417, allocations: 39.17 kB / 0.651 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.2417, allocations: 0.7188 kB / 0.651 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.2417, allocations: 20.62 kB / 0.651 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.242, allocations: 5.672 kB / 0.651 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.2423, allocations: 148.8 kB / 0.6512 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.2424, allocations: 66.77 kB / 0.6512 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.2424, allocations: 1.531 kB / 0.6512 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.2424, allocations: 10.78 kB / 0.6512 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.2424, allocations: 0 / 0.6512 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.2575, allocations: 2.117 MB / 0.6533 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.398/6.655, allocations: 8.672 kB / 0.6533 GB, free: 53.84 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.123431370593607] Failed to read output from testmodel.py, exit status != 0: 6.731323216110468 6.74016997 6.735111058 Calling exit ...