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.001063/0.001063, allocations: 104.6 kB / 16.41 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.001059/0.001059, allocations: 187 kB / 17.34 MB, free: 5.742 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 301.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.897/0.897, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4451, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001523/0.4467, allocations: 0.5708 MB / 0.7676 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002165/0.4469, allocations: 35.88 kB / 0.7677 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.273e-05/0.4469, allocations: 0 / 0.7677 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.447, allocations: 0 / 0.7677 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.447, allocations: 4 kB / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.4472, allocations: 15.92 kB / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.004e-05/0.4473, allocations: 4 kB / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.4473, allocations: 0 / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.4474, allocations: 7.984 kB / 0.7677 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.67e-05/0.4474, allocations: 3.938 kB / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.4474, allocations: 0 / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.4475, allocations: 15.98 kB / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.4475, allocations: 0 / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.664e-05/0.4475, allocations: 4 kB / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.137e-05/0.4476, allocations: 23.97 kB / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4476, allocations: 0 / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4476, allocations: 0 / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4476, allocations: 0 / 0.7678 GB, free: 3.211 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.0002635/0.4479, allocations: 307.6 kB / 0.7681 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.448, allocations: 15.91 kB / 0.7681 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.448, allocations: 0.9375 kB / 0.7681 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.4481, allocations: 168.4 kB / 0.7682 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4481, allocations: 4.375 kB / 0.7682 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.4481, allocations: 4.375 kB / 0.7682 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.003e-05/0.4482, allocations: 26.27 kB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4482, allocations: 192 / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4482, allocations: 7.938 kB / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.4482, allocations: 0 / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.4482, allocations: 4 kB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.4484, allocations: 145.7 kB / 0.7684 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.4484, allocations: 22.55 kB / 0.7684 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.4484, allocations: 8.859 kB / 0.7684 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4485, allocations: 4.062 kB / 0.7684 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4485, allocations: 34.56 kB / 0.7685 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4485, allocations: 3.938 kB / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.4486, allocations: 37.62 kB / 0.7685 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.4486, allocations: 55.34 kB / 0.7686 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.206e-05/0.4487, allocations: 89.86 kB / 0.7687 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.4487, allocations: 33.83 kB / 0.7687 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.4487, allocations: 80.14 kB / 0.7688 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.4488, allocations: 7.891 kB / 0.7688 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.4488, allocations: 9.719 kB / 0.7688 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.4489, allocations: 318.8 kB / 0.7691 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.4489, allocations: 0 / 0.7691 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.4489, allocations: 0 / 0.7691 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.4489, allocations: 8.922 kB / 0.7691 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4489, allocations: 4 kB / 0.7691 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.858e-05/0.449, allocations: 33.69 kB / 0.7691 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.449, allocations: 8 kB / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.449, allocations: 3.938 kB / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.449, allocations: 3.938 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.4491, allocations: 0 / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4491, allocations: 4 kB / 0.7692 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.4491, allocations: 0 / 0.7692 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4491, allocations: 0 / 0.7692 GB, free: 1.559 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 6.283e-05/0.4492, allocations: 119.9 kB / 0.7693 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.4492, allocations: 3.984 kB / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/0.4493, allocations: 40.77 kB / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.4493, allocations: 0 / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4493, allocations: 0 / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.4493, allocations: 0 / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.847e-05/0.4494, allocations: 157.6 kB / 0.7695 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4494, allocations: 4.031 kB / 0.7695 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.4494, allocations: 0 / 0.7695 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4494, allocations: 3.984 kB / 0.7695 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4495, allocations: 7.875 kB / 0.7695 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4495, allocations: 4 kB / 0.7695 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4495, allocations: 0 / 0.7695 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.906e-05/0.4495, allocations: 53.12 kB / 0.7695 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.4496, allocations: 81.14 kB / 0.7696 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.4496, allocations: 15.88 kB / 0.7696 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.4496, allocations: 4 kB / 0.7696 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.4496, allocations: 0 / 0.7696 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.4496, allocations: 0 / 0.7696 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.4496, allocations: 75.28 kB / 0.7697 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4496, allocations: 0 / 0.7697 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001767/0.4498, allocations: 8 kB / 0.7697 GB, free: 0.8984 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.0001361/0.45, allocations: 107.2 kB / 0.7698 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.45, allocations: 11.94 kB / 0.7698 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.45, allocations: 0 / 0.7698 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.4501, allocations: 4 kB / 0.7698 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.4502, allocations: 2.5 kB / 0.7698 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001604/0.4504, allocations: 102.8 kB / 0.7699 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.4506, allocations: 0.6729 MB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.4506, allocations: 11.56 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4506, allocations: 0 / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Templates: time 0.001508/0.4521, allocations: 449.4 kB / 0.771 GB, free: 15.48 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)