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.001337/0.001337, allocations: 112.2 kB / 16.41 MB, free: 6.016 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.001282/0.001282, allocations: 190 kB / 17.34 MB, free: 5.629 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.43/1.43, 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.002513/0.002513, allocations: 296.7 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 1.029/1.029, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4351, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002588/0.4377, allocations: 1.43 MB / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003081/0.438, allocations: 100.5 kB / 0.7685 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.438, allocations: 4 kB / 0.7686 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.01e-05/0.4381, allocations: 3.938 kB / 0.7686 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.4381, allocations: 7.922 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.4383, allocations: 15.98 kB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.4384, allocations: 23.92 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.4385, allocations: 8 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.4385, allocations: 4 kB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.4385, allocations: 15.91 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.4386, allocations: 4 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.4386, allocations: 19.98 kB / 0.7687 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.4387, allocations: 7.984 kB / 0.7687 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.4387, allocations: 11.94 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.4388, allocations: 39.69 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4388, allocations: 0 / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.083e-06/0.4388, allocations: 3.938 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.4388, allocations: 0 / 0.7687 GB, free: 2.207 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.000484/0.4393, allocations: 349.2 kB / 0.769 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4394, allocations: 11.97 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.4394, allocations: 8.891 kB / 0.7691 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.4395, allocations: 160.4 kB / 0.7692 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4396, allocations: 4.375 kB / 0.7692 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4396, allocations: 4.375 kB / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4398, allocations: 50.23 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.4398, allocations: 4.188 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4398, allocations: 3.938 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4398, allocations: 3.984 kB / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.44, allocations: 39.95 kB / 0.7693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.4404, allocations: 264.8 kB / 0.7696 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.4405, allocations: 42.5 kB / 0.7696 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.4406, allocations: 28.89 kB / 0.7696 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.4406, allocations: 4 kB / 0.7696 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4407, allocations: 30.56 kB / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4407, allocations: 0 / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000404/0.4411, allocations: 97.53 kB / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4411, allocations: 51.41 kB / 0.7698 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4412, allocations: 105.8 kB / 0.7699 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4412, allocations: 25.7 kB / 0.7699 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.4413, allocations: 84.14 kB / 0.77 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.4413, allocations: 7.953 kB / 0.77 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.4413, allocations: 13.7 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4415, allocations: 319 kB / 0.7704 GB, free: 324 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-05/0.4416, allocations: 15.98 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.4417, allocations: 23.97 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.4418, allocations: 36.83 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4418, allocations: 0 / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002154/0.442, allocations: 81.59 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4421, allocations: 4 kB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4421, allocations: 0 / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4421, allocations: 0 / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.4422, allocations: 11.98 kB / 0.7705 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4422, allocations: 0 / 0.7705 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.4422, allocations: 4 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.4422, allocations: 0 / 0.7705 GB, free: 136 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 0.0001209/0.4423, allocations: 128.4 kB / 0.7706 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4424, allocations: 7.891 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.4426, allocations: 77.12 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4426, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4426, allocations: 4 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4426, allocations: 0 / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.4428, allocations: 161.6 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4428, allocations: 4.031 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.4429, allocations: 11.98 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4429, allocations: 0 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.4429, allocations: 256 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4429, allocations: 4 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4429, allocations: 0 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.4432, allocations: 171.5 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.4432, allocations: 81.05 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.4433, allocations: 4 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.4433, allocations: 11.86 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.4434, allocations: 4 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.4434, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.4434, allocations: 87.27 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4434, allocations: 0 / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002375/0.4437, allocations: 8 kB / 0.7713 GB, free: 15.28 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.0001509/0.4438, allocations: 103.3 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.4441, allocations: 43.95 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4441, allocations: 0 / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.4442, allocations: 15.98 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.4444, allocations: 7.938 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.4447, allocations: 129.1 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4451, allocations: 0.6807 MB / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.196e-05/0.4451, allocations: 0 / 0.7722 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.4451, allocations: 7.438 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4451, allocations: 0 / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003062/0.4482, allocations: 0.5441 MB / 0.7727 GB, free: 13.7 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)