Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00119/0.00119, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001145/0.001145, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.243/1.243, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 297.2 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.8845/0.8845, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 95.86 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3707, allocations: 86.97 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.00145/0.3722, allocations: 0.5824 MB / 0.7677 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001921/0.3724, allocations: 35.88 kB / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.327e-05/0.3724, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.3725, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.3725, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3727, allocations: 15.94 kB / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.73e-05/0.3728, allocations: 3.984 kB / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.3728, allocations: 4 kB / 0.7677 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.303e-05/0.3728, allocations: 7.984 kB / 0.7677 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.3728, allocations: 0 / 0.7677 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.176e-06/0.3729, allocations: 0 / 0.7677 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.3729, allocations: 15.98 kB / 0.7677 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.373, allocations: 0 / 0.7677 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.373, allocations: 7.938 kB / 0.7677 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.464e-05/0.3731, allocations: 15.98 kB / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3731, allocations: 0 / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3731, allocations: 0 / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3731, allocations: 0 / 0.7678 GB, free: 3.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002563/0.3733, allocations: 315.6 kB / 0.7681 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3734, allocations: 8.031 kB / 0.7681 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.3734, allocations: 4.938 kB / 0.7681 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.15e-05/0.3735, allocations: 160.4 kB / 0.7682 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3735, allocations: 4.359 kB / 0.7682 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.3735, allocations: 384 / 0.7682 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.753e-05/0.3736, allocations: 30.2 kB / 0.7683 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.3736, allocations: 192 / 0.7683 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3736, allocations: 11.94 kB / 0.7683 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.3736, allocations: 4 kB / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.3737, allocations: 0 / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.3738, allocations: 141.7 kB / 0.7684 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.009e-05/0.3738, allocations: 22.59 kB / 0.7684 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.3738, allocations: 16.72 kB / 0.7684 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3739, allocations: 4.062 kB / 0.7685 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3739, allocations: 34.56 kB / 0.7685 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.3739, allocations: 4 kB / 0.7685 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001024/0.374, allocations: 33.64 kB / 0.7685 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.374, allocations: 51.41 kB / 0.7686 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.1e-05/0.3741, allocations: 93.86 kB / 0.7687 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3741, allocations: 25.7 kB / 0.7687 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.06e-05/0.3741, allocations: 80.14 kB / 0.7688 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3741, allocations: 11.83 kB / 0.7688 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.3742, allocations: 13.72 kB / 0.7688 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.3743, allocations: 319 kB / 0.7691 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.3743, allocations: 0 / 0.7691 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.3743, allocations: 3.938 kB / 0.7691 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.3743, allocations: 8.859 kB / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3743, allocations: 0 / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.286e-05/0.3744, allocations: 33.69 kB / 0.7691 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3744, allocations: 10.81 kB / 0.7691 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3744, allocations: 0 / 0.7691 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3744, allocations: 8.031 kB / 0.7692 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.236e-05/0.3745, allocations: 0 / 0.7692 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3745, allocations: 4 kB / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.3745, allocations: 4 kB / 0.7692 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3745, allocations: 0 / 0.7692 GB, free: 1.527 MB / 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 (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 5.594e-05/0.3746, allocations: 115.9 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.3746, allocations: 3.938 kB / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.3747, allocations: 44.81 kB / 0.7693 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3747, allocations: 3.938 kB / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3747, allocations: 0 / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.3747, allocations: 77.11 kB / 0.7694 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.3747, allocations: 4 kB / 0.7694 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.3748, allocations: 0 / 0.7694 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.3748, allocations: 3.984 kB / 0.7694 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.307e-05/0.3748, allocations: 116.9 kB / 0.7695 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001001/0.3749, allocations: 214.8 kB / 0.7697 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.154e-05/0.375, allocations: 0 / 0.7697 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.375, allocations: 75.28 kB / 0.7698 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of Backend: time 1.8e-07/0.375, allocations: 0 / 0.7698 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.3753, allocations: 82.41 kB / 0.7699 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0002634/0.3756, allocations: 0.5294 MB / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of Templates: time 0.002002/0.3776, allocations: 350.2 kB / 0.7707 GB, free: 15.82 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)