Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial") translateModel(IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008474/0.0008475, allocations: 99.2 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 182.6 kB / 16.92 MB, free: 6.707 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 12 kB / 495.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 77.54 MB / 0.5599 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002088/0.2279, allocations: 1.143 MB / 0.5611 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004126/0.2283, allocations: 96.66 kB / 0.5612 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.2283, allocations: 0 / 0.5612 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.223e-05/0.2284, allocations: 7.922 kB / 0.5612 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.2284, allocations: 7.984 kB / 0.5612 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.2287, allocations: 15.98 kB / 0.5612 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.2288, allocations: 19.88 kB / 0.5612 GB, free: 7.723 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.2289, allocations: 15.98 kB / 0.5612 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.2289, allocations: 4 kB / 0.5612 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.229, allocations: 15.86 kB / 0.5612 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.229, allocations: 0 / 0.5612 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2291, allocations: 23.92 kB / 0.5613 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.2292, allocations: 0 / 0.5613 GB, free: 7.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2292, allocations: 37.62 kB / 0.5613 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2293, allocations: 39.88 kB / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2294, allocations: 0 / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2294, allocations: 0 / 0.5613 GB, free: 7.582 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2294, allocations: 4 kB / 0.5613 GB, free: 7.578 MB / 430.1 MB 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.0005154/0.2299, allocations: 343.7 kB / 0.5617 GB, free: 7.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.23, allocations: 12.03 kB / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.23, allocations: 0.9375 kB / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2302, allocations: 172.3 kB / 0.5618 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2302, allocations: 384 / 0.5618 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2302, allocations: 384 / 0.5618 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.2304, allocations: 58.23 kB / 0.5619 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2305, allocations: 4.188 kB / 0.5619 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2305, allocations: 3.938 kB / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2305, allocations: 3.938 kB / 0.5619 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.2308, allocations: 51.95 kB / 0.562 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.2313, allocations: 249 kB / 0.5622 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.2315, allocations: 46.5 kB / 0.5622 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2316, allocations: 36.89 kB / 0.5623 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.2317, allocations: 0 / 0.5623 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.2317, allocations: 34.5 kB / 0.5623 GB, free: 6.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.2317, allocations: 3.938 kB / 0.5623 GB, free: 6.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006001/0.2324, allocations: 109.6 kB / 0.5624 GB, free: 6.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2324, allocations: 51.41 kB / 0.5625 GB, free: 6.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2326, allocations: 105.8 kB / 0.5626 GB, free: 6.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.2326, allocations: 25.83 kB / 0.5626 GB, free: 6.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.2327, allocations: 92.14 kB / 0.5627 GB, free: 6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2327, allocations: 3.906 kB / 0.5627 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.2328, allocations: 9.719 kB / 0.5627 GB, free: 5.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.233, allocations: 318.8 kB / 0.563 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.2331, allocations: 19.98 kB / 0.563 GB, free: 5.641 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.2332, allocations: 27.98 kB / 0.563 GB, free: 5.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.2335, allocations: 56.75 kB / 0.5631 GB, free: 5.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2335, allocations: 0 / 0.5631 GB, free: 5.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002966/0.2338, allocations: 89.66 kB / 0.5632 GB, free: 5.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2338, allocations: 4 kB / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2338, allocations: 0 / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2338, allocations: 0 / 0.5632 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.234, allocations: 19.97 kB / 0.5632 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.234, allocations: 0 / 0.5632 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.882e-05/0.2341, allocations: 11.92 kB / 0.5632 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2341, allocations: 0 / 0.5632 GB, free: 5.426 MB / 430.1 MB 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.0001096/0.2342, allocations: 113.8 kB / 0.5633 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.2342, allocations: 3.906 kB / 0.5633 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.2346, allocations: 97.11 kB / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2346, allocations: 0 / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2346, allocations: 256 / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2346, allocations: 0 / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.2349, allocations: 173.6 kB / 0.5636 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2349, allocations: 0 / 0.5636 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.235, allocations: 12.03 kB / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.235, allocations: 0 / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.235, allocations: 4 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.235, allocations: 3.984 kB / 0.5636 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.235, allocations: 0 / 0.5636 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.2354, allocations: 183.4 kB / 0.5638 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.2355, allocations: 81.02 kB / 0.5639 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2355, allocations: 3.938 kB / 0.5639 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.2356, allocations: 11.98 kB / 0.5639 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2357, allocations: 4 kB / 0.5639 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2357, allocations: 0 / 0.5639 GB, free: 4.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.2357, allocations: 87.31 kB / 0.564 GB, free: 4.562 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2357, allocations: 0 / 0.564 GB, free: 4.562 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003979/0.2361, allocations: 11.98 kB / 0.564 GB, free: 4.551 MB / 430.1 MB 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.0002495/0.2364, allocations: 99.25 kB / 0.5641 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.2367, allocations: 51.97 kB / 0.5641 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2367, allocations: 0 / 0.5641 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.2369, allocations: 27.91 kB / 0.5641 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2373, allocations: 11.94 kB / 0.5642 GB, free: 4.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.2376, allocations: 120.8 kB / 0.5643 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.2379, allocations: 0.677 MB / 0.5649 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.791e-05/0.238, allocations: 0 / 0.5649 GB, free: 3.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.238, allocations: 7.438 kB / 0.5649 GB, free: 3.504 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.238, allocations: 4 kB / 0.5649 GB, free: 3.5 MB / 430.1 MB Notification: Performance of Templates: time 0.003127/0.2411, allocations: 468 kB / 0.5654 GB, free: 3.047 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)