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.00102/0.00102, allocations: 107.3 kB / 16.41 MB, free: 6.457 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.0009687/0.0009687, allocations: 187 kB / 17.34 MB, free: 5.719 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.256/1.256, allocations: 222.9 MB / 241 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.002137/0.002138, allocations: 289.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8944/0.8944, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 95.86 kB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4457, 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.001852/0.4476, allocations: 0.5785 MB / 0.7676 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002497/0.4479, allocations: 35.88 kB / 0.7677 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.4479, allocations: 4 kB / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.4479, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.4479, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.4482, allocations: 11.92 kB / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.312e-05/0.4483, allocations: 4 kB / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.4483, allocations: 7.984 kB / 0.7677 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.503e-05/0.4484, allocations: 4 kB / 0.7677 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.4484, allocations: 0 / 0.7677 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.4484, allocations: 0 / 0.7677 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.4485, allocations: 15.98 kB / 0.7677 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.4485, allocations: 3.938 kB / 0.7677 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.4486, allocations: 11.98 kB / 0.7677 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.328e-05/0.4487, allocations: 7.984 kB / 0.7678 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4487, allocations: 4 kB / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4487, allocations: 0 / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.4487, allocations: 4 kB / 0.7678 GB, free: 3.18 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.0003109/0.449, allocations: 315.6 kB / 0.7681 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4491, allocations: 8.031 kB / 0.7681 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.4491, allocations: 0.9375 kB / 0.7681 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.294e-05/0.4492, allocations: 168.3 kB / 0.7682 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.4492, allocations: 384 / 0.7682 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4492, allocations: 384 / 0.7682 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.397e-05/0.4493, allocations: 34.25 kB / 0.7683 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4493, allocations: 192 / 0.7683 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4493, allocations: 3.938 kB / 0.7683 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4494, allocations: 4 kB / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.4494, allocations: 8 kB / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.4495, allocations: 145.7 kB / 0.7684 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.916e-05/0.4496, allocations: 18.52 kB / 0.7684 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.4496, allocations: 12.94 kB / 0.7684 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.4496, allocations: 0 / 0.7684 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4497, allocations: 30.56 kB / 0.7685 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4497, allocations: 4 kB / 0.7685 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.4498, allocations: 41.64 kB / 0.7685 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4499, allocations: 51.41 kB / 0.7686 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.732e-05/0.4499, allocations: 89.86 kB / 0.7687 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4499, allocations: 29.64 kB / 0.7687 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.4499, allocations: 80.14 kB / 0.7688 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.45, allocations: 7.844 kB / 0.7688 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.45, allocations: 17.7 kB / 0.7688 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.4501, allocations: 319 kB / 0.7691 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.4501, allocations: 0 / 0.7691 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-06/0.4502, allocations: 4 kB / 0.7691 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.4502, allocations: 4.859 kB / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4502, allocations: 0 / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.961e-05/0.4503, allocations: 33.7 kB / 0.7691 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4503, allocations: 10.95 kB / 0.7691 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.4503, allocations: 0 / 0.7691 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4503, allocations: 8.031 kB / 0.7691 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.4504, allocations: 4 kB / 0.7691 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4504, allocations: 3.938 kB / 0.7692 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.4504, allocations: 0 / 0.7692 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.4504, allocations: 4 kB / 0.7692 GB, free: 1.523 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 7.041e-05/0.4505, allocations: 112.6 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.4505, allocations: 4 kB / 0.7693 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.4506, allocations: 48.75 kB / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4506, allocations: 0 / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4507, allocations: 0 / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4507, allocations: 0 / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.132e-05/0.4508, allocations: 141.7 kB / 0.7694 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4508, allocations: 3.984 kB / 0.7695 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.4508, allocations: 7.938 kB / 0.7695 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4508, allocations: 0 / 0.7695 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4508, allocations: 3.938 kB / 0.7695 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4508, allocations: 0 / 0.7695 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4508, allocations: 4.031 kB / 0.7695 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.529e-05/0.4509, allocations: 61.08 kB / 0.7695 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.4509, allocations: 81.09 kB / 0.7696 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.451, allocations: 3.938 kB / 0.7696 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.451, allocations: 0 / 0.7696 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.451, allocations: 8 kB / 0.7696 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.451, allocations: 0 / 0.7696 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.451, allocations: 83.25 kB / 0.7697 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.451, allocations: 0 / 0.7697 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002023/0.4513, allocations: 8 kB / 0.7697 GB, free: 0.8711 MB / 0.5294 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 (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.0001521/0.4514, allocations: 103.2 kB / 0.7698 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.4515, allocations: 11.92 kB / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4515, allocations: 0 / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-06/0.4515, allocations: 4 kB / 0.7698 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.4517, allocations: 6.875 kB / 0.7698 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.4519, allocations: 106.8 kB / 0.7699 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.4521, allocations: 0.6729 MB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.4522, allocations: 11.44 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4522, allocations: 0 / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Templates: time 0.00193/0.4541, allocations: 448 kB / 0.771 GB, free: 15.46 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)