Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001482/0.001482, allocations: 192 kB / 16.13 MB, free: 6.664 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 61.97 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3467, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002992/0.3497, allocations: 1.504 MB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.35, allocations: 95.8 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.3501, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.264e-05/0.3502, allocations: 3.938 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.95e-05/0.3502, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3504, allocations: 15.98 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.3505, allocations: 23.92 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.3505, allocations: 4 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.3506, allocations: 15.92 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.695e-05/0.3506, allocations: 7.938 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.3507, allocations: 4 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.3507, allocations: 27.91 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.3508, allocations: 7.984 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.3508, allocations: 7.938 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.351, allocations: 35.89 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.351, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.351, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.351, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 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.0004461/0.3514, allocations: 347.7 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3515, allocations: 8.031 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3515, allocations: 0.9375 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3516, allocations: 172.3 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3517, allocations: 384 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.3517, allocations: 384 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3519, allocations: 50.23 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3519, allocations: 4.188 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3519, allocations: 7.938 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3519, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3521, allocations: 43.89 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3524, allocations: 245 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3526, allocations: 50.48 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3527, allocations: 24.91 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3527, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3528, allocations: 42.5 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3528, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.3532, allocations: 89.72 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.3532, allocations: 55.41 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.3533, allocations: 101.9 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3533, allocations: 29.64 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.3534, allocations: 88.12 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3534, allocations: 11.83 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3534, allocations: 13.72 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.3535, allocations: 314.8 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.3536, allocations: 24 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.3537, allocations: 19.98 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.3539, allocations: 40.77 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3539, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.3541, allocations: 81.56 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3541, allocations: 4 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3541, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.3542, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.3542, allocations: 11.98 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3543, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.3543, allocations: 11.92 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3543, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 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 7.206e-05/0.3544, allocations: 113.8 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3544, allocations: 4 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.3547, allocations: 85.09 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3547, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3547, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3548, allocations: 0 / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.3549, allocations: 161.6 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3549, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.355, allocations: 16.02 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.355, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.355, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.355, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.355, allocations: 256 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3552, allocations: 171.4 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.3553, allocations: 89.03 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3553, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.3554, allocations: 4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.3554, allocations: 7.984 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3554, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.3555, allocations: 83.28 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.814e-06/0.3555, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002693/0.3558, allocations: 15.94 kB / 1.072 GB, free: 6.238 MB / 0.8262 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.0001502/0.3559, allocations: 107.2 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3562, allocations: 39.97 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3562, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.3563, allocations: 27.84 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3566, allocations: 11.94 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.3568, allocations: 115.4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3571, allocations: 0.677 MB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.202e-05/0.3571, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.3571, allocations: 7.438 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3572, allocations: 4 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of Templates: time 0.002777/0.3599, allocations: 484.9 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1)