Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008861/0.0008861, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001005/0.001005, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005599, allocations: 14.84 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2633, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007558/0.2641, allocations: 327.5 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.2643, allocations: 31.86 kB / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.012e-05/0.2644, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.2644, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.2644, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.2647, allocations: 12 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.2647, allocations: 4 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.2648, allocations: 3.984 kB / 0.7876 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.2648, allocations: 7.922 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.2649, allocations: 4 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.2649, allocations: 0 / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.265, allocations: 15.98 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.265, allocations: 0 / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.265, allocations: 25.7 kB / 0.7877 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.15e-05/0.2651, allocations: 11.98 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2651, allocations: 0 / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2651, allocations: 4 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.2651, allocations: 0 / 0.7877 GB, free: 11.49 MB / 0.6075 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.0002768/0.2654, allocations: 315.4 kB / 0.788 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2654, allocations: 8.031 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.2655, allocations: 4 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.2656, allocations: 163 kB / 0.7882 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2656, allocations: 4 kB / 0.7882 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2656, allocations: 7.984 kB / 0.7882 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2657, allocations: 33.64 kB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2658, allocations: 0 / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2658, allocations: 0 / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2658, allocations: 0 / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.2658, allocations: 7.984 kB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.266, allocations: 145.6 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.015e-05/0.266, allocations: 18.61 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.266, allocations: 8.859 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.2661, allocations: 7.938 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2661, allocations: 34.62 kB / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2661, allocations: 0 / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.2663, allocations: 33.69 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2663, allocations: 51.41 kB / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.2664, allocations: 89.86 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2664, allocations: 25.7 kB / 0.7886 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.2664, allocations: 84.14 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.2664, allocations: 12.03 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.2665, allocations: 3.938 kB / 0.7887 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.2666, allocations: 310.8 kB / 0.789 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-06/0.2666, allocations: 0 / 0.789 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.2666, allocations: 7.938 kB / 0.789 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.687e-05/0.2666, allocations: 0 / 0.789 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2666, allocations: 0 / 0.789 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.403e-05/0.2667, allocations: 37.64 kB / 0.7891 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2667, allocations: 12.09 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2667, allocations: 0 / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2667, allocations: 0 / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.2668, allocations: 0 / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2668, allocations: 0 / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.2668, allocations: 7.938 kB / 0.7891 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.2669, allocations: 0 / 0.7891 GB, free: 9.867 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.2669, allocations: 110.5 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.2669, allocations: 7.938 kB / 0.7892 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.2671, allocations: 44.77 kB / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2671, allocations: 0 / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2671, allocations: 0 / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2671, allocations: 0 / 0.7892 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/0.2672, allocations: 149.7 kB / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2672, allocations: 0 / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.2672, allocations: 0 / 0.7894 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2672, allocations: 3.953 kB / 0.7894 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2673, allocations: 8.031 kB / 0.7894 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2673, allocations: 4 kB / 0.7894 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2673, allocations: 0 / 0.7894 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.299e-05/0.2673, allocations: 61.06 kB / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.2674, allocations: 77.39 kB / 0.7895 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.2674, allocations: 11.95 kB / 0.7895 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.2674, allocations: 0 / 0.7895 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.2674, allocations: 32 / 0.7895 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.2675, allocations: 4 kB / 0.7895 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.2675, allocations: 79.28 kB / 0.7896 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2675, allocations: 0 / 0.7896 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002076/0.2677, allocations: 8 kB / 0.7896 GB, free: 9.203 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001574/0.2679, allocations: 103.2 kB / 0.7897 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.2679, allocations: 4 kB / 0.7897 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.268, allocations: 0 / 0.7897 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-06/0.268, allocations: 4.062 kB / 0.7897 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.2681, allocations: 7.938 kB / 0.7897 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.2683, allocations: 89.52 kB / 0.7898 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.2685, allocations: 0.6692 MB / 0.7905 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2686, allocations: 8 kB / 0.7905 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.2686, allocations: 11.5 kB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2686, allocations: 0 / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.002243/0.2708, allocations: 285 kB / 0.7908 GB, free: 7.973 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) Environment - environmentSimulation: