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: translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001289, allocations: 107.2 kB / 17.02 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 196.1 kB / 17.97 MB, free: 5.191 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7173/0.7173, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3149, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001663/0.3166, allocations: 0.5633 MB / 0.5581 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001957/0.3168, allocations: 39.48 kB / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.066e-05/0.3168, allocations: 0.5 kB / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.3168, allocations: 0.8125 kB / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.057e-06/0.3168, allocations: 0 / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.3171, allocations: 13.03 kB / 0.5582 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.653e-05/0.3171, allocations: 10.11 kB / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.3172, allocations: 7.406 kB / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.207e-05/0.3172, allocations: 1.406 kB / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.3172, allocations: 0 / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.3172, allocations: 0.75 kB / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.3173, allocations: 17.17 kB / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.3173, allocations: 1.406 kB / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.3173, allocations: 5.812 kB / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.461e-05/0.3174, allocations: 22.5 kB / 0.5582 GB, free: 36.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3174, allocations: 0 / 0.5582 GB, free: 36.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3174, allocations: 0.875 kB / 0.5582 GB, free: 36.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3175, allocations: 1.344 kB / 0.5582 GB, free: 36.31 MB / 446.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.0002058/0.3177, allocations: 319 kB / 0.5585 GB, free: 35.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3177, allocations: 8.625 kB / 0.5586 GB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.3177, allocations: 3.625 kB / 0.5586 GB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.23e-05/0.3178, allocations: 164 kB / 0.5587 GB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.3178, allocations: 384 / 0.5587 GB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.3178, allocations: 2.688 kB / 0.5587 GB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.126e-05/0.3179, allocations: 28.73 kB / 0.5587 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.3179, allocations: 4.25 kB / 0.5587 GB, free: 35.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.3179, allocations: 3.938 kB / 0.5588 GB, free: 35.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.3179, allocations: 0 / 0.5588 GB, free: 35.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.318, allocations: 7.344 kB / 0.5588 GB, free: 35.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.302e-05/0.3181, allocations: 144.2 kB / 0.5589 GB, free: 35.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.738e-05/0.3181, allocations: 20.53 kB / 0.5589 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.244e-05/0.3181, allocations: 7.109 kB / 0.5589 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3181, allocations: 3.578 kB / 0.5589 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.3182, allocations: 36.22 kB / 0.559 GB, free: 35.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.3182, allocations: 0.9375 kB / 0.559 GB, free: 35.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.3183, allocations: 36.73 kB / 0.559 GB, free: 35.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.3183, allocations: 57.19 kB / 0.5591 GB, free: 35.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.407e-05/0.3183, allocations: 91.64 kB / 0.5591 GB, free: 35.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-06/0.3183, allocations: 26.41 kB / 0.5592 GB, free: 35.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-06/0.3184, allocations: 81.08 kB / 0.5592 GB, free: 35.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3184, allocations: 1.406 kB / 0.5592 GB, free: 35.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.3184, allocations: 12.14 kB / 0.5593 GB, free: 35.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.3185, allocations: 317.9 kB / 0.5596 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.3185, allocations: 0.75 kB / 0.5596 GB, free: 34.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-06/0.3185, allocations: 2.781 kB / 0.5596 GB, free: 34.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.3185, allocations: 9.047 kB / 0.5596 GB, free: 34.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3185, allocations: 1.531 kB / 0.5596 GB, free: 34.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.555e-05/0.3186, allocations: 33.45 kB / 0.5596 GB, free: 34.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3186, allocations: 13.44 kB / 0.5596 GB, free: 34.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3186, allocations: 0 / 0.5596 GB, free: 34.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3186, allocations: 6.562 kB / 0.5596 GB, free: 34.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.3187, allocations: 1.844 kB / 0.5596 GB, free: 34.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3187, allocations: 4.516 kB / 0.5596 GB, free: 34.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.3187, allocations: 1.969 kB / 0.5596 GB, free: 34.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3187, allocations: 1.547 kB / 0.5596 GB, free: 34.75 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.3187, allocations: 117.4 kB / 0.5597 GB, free: 34.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.3188, allocations: 1 kB / 0.5597 GB, free: 34.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.241e-05/0.3188, allocations: 43.12 kB / 0.5598 GB, free: 34.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3189, allocations: 3.312 kB / 0.5598 GB, free: 34.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3189, allocations: 0 / 0.5598 GB, free: 34.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3189, allocations: 0 / 0.5598 GB, free: 34.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.377e-05/0.3189, allocations: 149.8 kB / 0.5599 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3189, allocations: 1.031 kB / 0.5599 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.3189, allocations: 2.078 kB / 0.5599 GB, free: 34.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.319, allocations: 7.719 kB / 0.5599 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.319, allocations: 4.594 kB / 0.5599 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.319, allocations: 1.219 kB / 0.5599 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.319, allocations: 0 / 0.5599 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.725e-05/0.319, allocations: 58.75 kB / 0.56 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.319, allocations: 78.88 kB / 0.5601 GB, free: 34.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.3191, allocations: 6.078 kB / 0.5601 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.3191, allocations: 0.6875 kB / 0.5601 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.3191, allocations: 6.25 kB / 0.5601 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3191, allocations: 1.812 kB / 0.5601 GB, free: 34.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.079e-05/0.3191, allocations: 76.81 kB / 0.5602 GB, free: 34.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3191, allocations: 1.156 kB / 0.5602 GB, free: 34.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001802/0.3193, allocations: 4.391 kB / 0.5602 GB, free: 34.16 MB / 446.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 (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.0001092/0.3194, allocations: 102.1 kB / 0.5603 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.244e-05/0.3195, allocations: 11.22 kB / 0.5603 GB, free: 34.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3195, allocations: 0 / 0.5603 GB, free: 34.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.3195, allocations: 2.562 kB / 0.5603 GB, free: 34.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.3196, allocations: 2.969 kB / 0.5603 GB, free: 34.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001377/0.3198, allocations: 84.97 kB / 0.5604 GB, free: 33.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.13e-05/0.3199, allocations: 0.674 MB / 0.561 GB, free: 33.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.3199, allocations: 4.266 kB / 0.561 GB, free: 33.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.3199, allocations: 9.375 kB / 0.561 GB, free: 33.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3199, allocations: 0.8125 kB / 0.561 GB, free: 33.26 MB / 446.1 MB Notification: Performance of Templates: time 0.001928/0.3219, allocations: 284.6 kB / 0.5613 GB, free: 33.22 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)