Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001144, allocations: 190.2 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009477/0.0009476, allocations: 103.1 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2497, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002774/0.2526, allocations: 1.499 MB / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003347/0.2529, allocations: 96.53 kB / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.253, allocations: 0 / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.907e-05/0.2531, allocations: 3.984 kB / 0.9838 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.2531, allocations: 7.938 kB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2533, allocations: 15.97 kB / 0.9838 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.2534, allocations: 23.94 kB / 0.9838 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.2535, allocations: 7.984 kB / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.2536, allocations: 8 kB / 0.9838 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.2536, allocations: 11.92 kB / 0.9838 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2536, allocations: 0 / 0.9838 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.2537, allocations: 19.98 kB / 0.9839 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.2538, allocations: 7.938 kB / 0.9839 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.2538, allocations: 15.92 kB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2539, allocations: 27.95 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2539, allocations: 3.984 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.254, allocations: 4 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.254, allocations: 0 / 0.9839 GB, free: 8.605 MB / 0.7136 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.000463/0.2544, allocations: 347.7 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2545, allocations: 15.97 kB / 0.9843 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.2545, allocations: 4.844 kB / 0.9843 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2547, allocations: 160.4 kB / 0.9844 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2547, allocations: 4.375 kB / 0.9844 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2547, allocations: 4.375 kB / 0.9844 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2549, allocations: 54.23 kB / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.2549, allocations: 192 / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2549, allocations: 7.922 kB / 0.9845 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2549, allocations: 0 / 0.9845 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.2551, allocations: 43.89 kB / 0.9845 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.2554, allocations: 252.9 kB / 0.9848 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.2556, allocations: 46.5 kB / 0.9848 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.2557, allocations: 20.91 kB / 0.9848 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.2557, allocations: 7.984 kB / 0.9848 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.2557, allocations: 30.56 kB / 0.9849 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2557, allocations: 0 / 0.9849 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003603/0.2561, allocations: 97.48 kB / 0.985 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2562, allocations: 51.41 kB / 0.985 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.2562, allocations: 105.8 kB / 0.9851 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2563, allocations: 25.7 kB / 0.9851 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.2563, allocations: 88.14 kB / 0.9852 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.2563, allocations: 7.844 kB / 0.9852 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.2564, allocations: 17.84 kB / 0.9853 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.2565, allocations: 318.8 kB / 0.9856 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.2566, allocations: 15.98 kB / 0.9856 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.2566, allocations: 15.98 kB / 0.9856 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2568, allocations: 44.81 kB / 0.9856 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2568, allocations: 4.062 kB / 0.9856 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.257, allocations: 77.53 kB / 0.9857 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.257, allocations: 4 kB / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.257, allocations: 4 kB / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2571, allocations: 0 / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.2571, allocations: 4 kB / 0.9857 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2572, allocations: 3.984 kB / 0.9857 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.2572, allocations: 4.25 kB / 0.9857 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2572, allocations: 8.031 kB / 0.9857 GB, free: 6.52 MB / 0.7136 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 6.889e-05/0.2573, allocations: 121.7 kB / 0.9859 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.2573, allocations: 0 / 0.9859 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.2575, allocations: 85.11 kB / 0.9859 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2576, allocations: 0 / 0.9859 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2576, allocations: 0 / 0.9859 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2576, allocations: 4.031 kB / 0.9859 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.2577, allocations: 165.6 kB / 0.9861 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2577, allocations: 0 / 0.9861 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.2578, allocations: 4 kB / 0.9861 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.2578, allocations: 0 / 0.9861 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.2578, allocations: 7.984 kB / 0.9861 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2578, allocations: 0 / 0.9861 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2578, allocations: 0 / 0.9861 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.2583, allocations: 0.7356 MB / 0.9868 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.2584, allocations: 77.11 kB / 0.9869 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.2584, allocations: 3.938 kB / 0.9869 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.2585, allocations: 7.984 kB / 0.9869 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.2585, allocations: 4 kB / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2585, allocations: 11.97 kB / 0.9869 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.2586, allocations: 83.27 kB / 0.987 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2586, allocations: 0 / 0.987 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003014/0.2589, allocations: 8 kB / 0.987 GB, free: 5.066 MB / 0.7136 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.0001384/0.259, allocations: 103.2 kB / 0.9871 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.2592, allocations: 47.89 kB / 0.9872 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2592, allocations: 4.062 kB / 0.9872 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.2593, allocations: 15.98 kB / 0.9872 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2596, allocations: 8.781 kB / 0.9872 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.2599, allocations: 222.1 kB / 0.9874 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2602, allocations: 0.677 MB / 0.9881 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.2602, allocations: 8.062 kB / 0.9881 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.2603, allocations: 7.438 kB / 0.9881 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/0.2603, allocations: 0 / 0.9881 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.002499/0.2628, allocations: 497.6 kB / 0.9885 GB, free: 3.43 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)