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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001108/0.001108, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.0009726/0.0009726, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.226/1.226, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 284.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8748/0.8748, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.358, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002395/0.3605, allocations: 1.43 MB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.3607, allocations: 92.64 kB / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.3608, allocations: 0 / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.209e-05/0.3608, allocations: 7.922 kB / 0.7686 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.162e-05/0.3609, allocations: 3.938 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3611, allocations: 15.98 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.3612, allocations: 27.86 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.655e-05/0.3613, allocations: 12 kB / 0.7686 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.3613, allocations: 7.984 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.3614, allocations: 11.94 kB / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.3614, allocations: 0 / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.203e-05/0.3615, allocations: 19.98 kB / 0.7686 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.3615, allocations: 7.984 kB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.3615, allocations: 19.92 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3616, allocations: 31.83 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.3616, allocations: 0 / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3617, allocations: 0 / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3617, allocations: 4 kB / 0.7687 GB, free: 2.176 MB / 0.5294 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.0003987/0.3621, allocations: 343.1 kB / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3621, allocations: 12.03 kB / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3621, allocations: 0.9375 kB / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3623, allocations: 172.3 kB / 0.7692 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3623, allocations: 4.375 kB / 0.7692 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.3623, allocations: 384 / 0.7692 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3625, allocations: 50.23 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3625, allocations: 8.125 kB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.3625, allocations: 3.938 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3625, allocations: 0 / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3627, allocations: 43.84 kB / 0.7693 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.363, allocations: 255.5 kB / 0.7696 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3631, allocations: 50.48 kB / 0.7696 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.3632, allocations: 16.91 kB / 0.7696 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3632, allocations: 4 kB / 0.7696 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3633, allocations: 30.56 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3633, allocations: 0 / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000347/0.3636, allocations: 93.67 kB / 0.7697 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3637, allocations: 51.41 kB / 0.7698 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.3637, allocations: 105.8 kB / 0.7699 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3638, allocations: 29.7 kB / 0.7699 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3638, allocations: 84.14 kB / 0.77 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.3638, allocations: 11.88 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.3639, allocations: 17.72 kB / 0.77 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.364, allocations: 310.8 kB / 0.7703 GB, free: 308 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.3641, allocations: 24.02 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.3641, allocations: 15.97 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3643, allocations: 44.77 kB / 0.7704 GB, free: 220 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3643, allocations: 0 / 0.7704 GB, free: 220 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.3645, allocations: 81.56 kB / 0.7705 GB, free: 132 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3645, allocations: 4 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3645, allocations: 4 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3646, allocations: 0 / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.3646, allocations: 7.984 kB / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3647, allocations: 0 / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.3647, allocations: 7.984 kB / 0.7705 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3647, allocations: 0 / 0.7705 GB, free: 108 kB / 0.5294 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.352e-05/0.3648, allocations: 116.3 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3648, allocations: 7.938 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.3651, allocations: 77.38 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3651, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3651, allocations: 4 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.3651, allocations: 85.08 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.3651, allocations: 3.938 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.3652, allocations: 12.03 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.3652, allocations: 7.984 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002396/0.3655, allocations: 144.9 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002538/0.3658, allocations: 250.7 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.797e-05/0.3658, allocations: 23.97 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.3659, allocations: 79.28 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Backend: time 2.71e-07/0.3659, allocations: 0 / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000417/0.3663, allocations: 113.1 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004125/0.3667, allocations: 0.5572 MB / 0.7719 GB, free: 14.54 MB / 0.545 GB Notification: Performance of Templates: time 0.002617/0.3694, allocations: 0.6636 MB / 0.7726 GB, free: 13.88 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile (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)