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.001009/0.001009, allocations: 111.9 kB / 16.42 MB, free: 6.441 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.0009641/0.0009642, allocations: 192 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 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 294.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8723/0.8723, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 91.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.356, allocations: 86.98 MB / 0.7671 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002171/0.3582, allocations: 1.426 MB / 0.7685 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.3585, allocations: 92.59 kB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.3586, allocations: 0 / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.239e-05/0.3587, allocations: 7.938 kB / 0.7686 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.36e-05/0.3587, allocations: 7.938 kB / 0.7686 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.3589, allocations: 15.97 kB / 0.7686 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.359, allocations: 35.84 kB / 0.7686 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.3591, allocations: 0 / 0.7686 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.3591, allocations: 8 kB / 0.7686 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.3592, allocations: 11.92 kB / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3592, allocations: 4 kB / 0.7686 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.3593, allocations: 19.98 kB / 0.7687 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.3593, allocations: 7.984 kB / 0.7687 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.3593, allocations: 15.94 kB / 0.7687 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3594, allocations: 43.81 kB / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3595, allocations: 0 / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3595, allocations: 0 / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3595, allocations: 0 / 0.7687 GB, free: 2.262 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.0003811/0.3599, allocations: 343.1 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3599, allocations: 8.031 kB / 0.7691 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.3599, allocations: 0.9375 kB / 0.7691 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.36, allocations: 172.3 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.36, allocations: 384 / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3601, allocations: 384 / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3602, allocations: 54.23 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3602, allocations: 192 / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3603, allocations: 3.938 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3603, allocations: 3.938 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3604, allocations: 39.89 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.3607, allocations: 259.5 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3608, allocations: 42.5 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.3609, allocations: 28.89 kB / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.361, allocations: 0 / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.361, allocations: 38.56 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.361, allocations: 0 / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003414/0.3613, allocations: 89.58 kB / 0.7698 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.3614, allocations: 51.41 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.3615, allocations: 109.8 kB / 0.7699 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3615, allocations: 25.7 kB / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.3615, allocations: 88.27 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.3615, allocations: 3.906 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.3616, allocations: 13.72 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.3617, allocations: 322.8 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.3618, allocations: 15.98 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.3618, allocations: 19.98 kB / 0.7704 GB, free: 360 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.362, allocations: 48.81 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.362, allocations: 0 / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.3622, allocations: 77.5 kB / 0.7705 GB, free: 224 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3622, allocations: 4 kB / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3622, allocations: 0 / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3623, allocations: 0 / 0.7705 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.3623, allocations: 16.02 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3623, allocations: 0 / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.3624, allocations: 4 kB / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3624, allocations: 0 / 0.7705 GB, free: 200 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 6.721e-05/0.3625, allocations: 116.2 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.3625, allocations: 7.938 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.3628, allocations: 81.12 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3628, allocations: 0 / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3628, allocations: 0 / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.3628, allocations: 85.09 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3628, allocations: 3.984 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.3629, allocations: 4 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.363, allocations: 3.938 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002373/0.3632, allocations: 160.9 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000243/0.3634, allocations: 242.6 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.132e-05/0.3635, allocations: 15.98 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.675e-05/0.3636, allocations: 91.27 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of Backend: time 3.5e-07/0.3636, allocations: 4.062 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.364, allocations: 113.1 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of SimCode: time 0.000373/0.3644, allocations: 0.5571 MB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of Templates: time 0.002432/0.3668, allocations: 0.661 MB / 0.7726 GB, free: 13.96 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)