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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002331/0.002331, allocations: 286.7 kB / 304.8 MB, free: 3.699 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 180.9 MB / 0.5282 GB, free: 1.82 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004005/0.004005, allocations: 111.8 kB / 0.7283 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5104, allocations: 94.15 MB / 0.8203 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002896/0.5133, allocations: 1.456 MB / 0.8217 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003363/0.5137, allocations: 98.45 kB / 0.8218 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.5137, allocations: 1.312 kB / 0.8218 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.314e-05/0.5138, allocations: 0 / 0.8218 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.062e-05/0.5138, allocations: 8.703 kB / 0.8218 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.5141, allocations: 14.8 kB / 0.8218 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.5142, allocations: 32.95 kB / 0.8219 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.5143, allocations: 7.172 kB / 0.8219 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.5143, allocations: 7.25 kB / 0.8219 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.5144, allocations: 14.45 kB / 0.8219 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.5144, allocations: 2.844 kB / 0.8219 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.5145, allocations: 28.81 kB / 0.8219 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.5145, allocations: 1.969 kB / 0.8219 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.5145, allocations: 10.28 kB / 0.8219 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.5147, allocations: 39.22 kB / 0.822 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5147, allocations: 0 / 0.822 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5147, allocations: 0 / 0.822 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.5147, allocations: 5.188 kB / 0.822 GB, free: 3.324 MB / 0.5606 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.0004694/0.5152, allocations: 342 kB / 0.8223 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5152, allocations: 9.531 kB / 0.8223 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.5152, allocations: 6.078 kB / 0.8223 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.5154, allocations: 170.2 kB / 0.8225 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5154, allocations: 1.594 kB / 0.8225 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.5154, allocations: 5.688 kB / 0.8225 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.5156, allocations: 58.55 kB / 0.8225 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5156, allocations: 192 / 0.8225 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5156, allocations: 9.375 kB / 0.8225 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.5156, allocations: 7.922 kB / 0.8225 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.5158, allocations: 37.3 kB / 0.8226 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.5161, allocations: 245 kB / 0.8228 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.5162, allocations: 49.02 kB / 0.8229 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.5163, allocations: 23.94 kB / 0.8229 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.5164, allocations: 2.25 kB / 0.8229 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5164, allocations: 35.59 kB / 0.8229 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5164, allocations: 0 / 0.8229 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000348/0.5167, allocations: 93 kB / 0.823 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5168, allocations: 60.55 kB / 0.8231 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.5169, allocations: 101.3 kB / 0.8232 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5169, allocations: 26.92 kB / 0.8232 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.517, allocations: 89.34 kB / 0.8233 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.517, allocations: 5.047 kB / 0.8233 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.517, allocations: 12.06 kB / 0.8233 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5171, allocations: 320 kB / 0.8236 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-05/0.5172, allocations: 18.19 kB / 0.8236 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.5173, allocations: 18.92 kB / 0.8236 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.5174, allocations: 41.64 kB / 0.8237 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5174, allocations: 1.156 kB / 0.8237 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.5176, allocations: 74.91 kB / 0.8237 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5176, allocations: 5.594 kB / 0.8238 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5176, allocations: 0 / 0.8238 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5177, allocations: 1.125 kB / 0.8238 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.5178, allocations: 13.23 kB / 0.8238 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5178, allocations: 1.031 kB / 0.8238 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.5178, allocations: 7.234 kB / 0.8238 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.5178, allocations: 5.094 kB / 0.8238 GB, free: 1.48 MB / 0.5606 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 9.168e-05/0.5179, allocations: 112.2 kB / 0.8239 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.5179, allocations: 5.141 kB / 0.8239 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.5182, allocations: 87.22 kB / 0.824 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.5182, allocations: 0 / 0.824 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5182, allocations: 0 / 0.824 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5182, allocations: 5.062 kB / 0.824 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.5184, allocations: 164.4 kB / 0.8241 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5184, allocations: 0 / 0.8241 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.5184, allocations: 10.73 kB / 0.8241 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5184, allocations: 0 / 0.8241 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.5184, allocations: 0 / 0.8241 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5184, allocations: 1.312 kB / 0.8241 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5184, allocations: 4 kB / 0.8242 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.5187, allocations: 174.1 kB / 0.8243 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.5187, allocations: 78.3 kB / 0.8244 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.5188, allocations: 5.109 kB / 0.8244 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.5188, allocations: 3.812 kB / 0.8244 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.5189, allocations: 9.141 kB / 0.8244 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.5189, allocations: 0 / 0.8244 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.5189, allocations: 81.19 kB / 0.8245 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5189, allocations: 0 / 0.8245 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002265/0.5191, allocations: 19.8 kB / 0.8245 GB, free: 0.7266 MB / 0.5606 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.0001512/0.5193, allocations: 107.1 kB / 0.8246 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.5195, allocations: 39.19 kB / 0.8246 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5195, allocations: 0 / 0.8246 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/0.5196, allocations: 24.97 kB / 0.8247 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.5199, allocations: 13.5 kB / 0.8247 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.5202, allocations: 115.3 kB / 0.8248 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.5205, allocations: 0.6792 MB / 0.8255 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.5206, allocations: 1.156 kB / 0.8255 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.5206, allocations: 8.938 kB / 0.8255 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.5206, allocations: 0 / 0.8255 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.003022/0.5236, allocations: 0.5524 MB / 0.826 GB, free: 15.49 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1829586969688535]