Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008827/0.0008827, allocations: 183.5 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 0.5785 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006942/0.0006941, allocations: 90.73 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 11.62 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1767, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.3212, allocations: 131.7 MB / 1.03 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.3215, allocations: 79.94 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002129/0.3236, allocations: 0.7778 MB / 1.031 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3236, allocations: 0 / 1.031 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3237, allocations: 4 kB / 1.031 GB, free: 10.98 MB / 0.6823 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.0003172/0.324, allocations: 344.5 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.324, allocations: 16.02 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.3241, allocations: 0.9375 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3242, allocations: 172.3 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.3242, allocations: 384 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.3242, allocations: 384 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.3244, allocations: 62.22 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3244, allocations: 4.188 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3244, allocations: 3.938 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3244, allocations: 0 / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3246, allocations: 51.89 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.3249, allocations: 269 kB / 1.032 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.325, allocations: 54.48 kB / 1.032 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.3251, allocations: 32.84 kB / 1.032 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3252, allocations: 4 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.3252, allocations: 34.5 kB / 1.032 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3252, allocations: 0 / 1.032 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003169/0.3255, allocations: 105.6 kB / 1.032 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.3256, allocations: 51.41 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.3257, allocations: 110 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3257, allocations: 29.7 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.3257, allocations: 91.98 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.3257, allocations: 0 / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.3257, allocations: 0 / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.3258, allocations: 314.8 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.3259, allocations: 31.91 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.326, allocations: 23.98 kB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3262, allocations: 60.81 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3262, allocations: 0 / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.3264, allocations: 89.5 kB / 1.033 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3264, allocations: 4 kB / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3264, allocations: 0 / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3264, allocations: 4.031 kB / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.3265, allocations: 11.98 kB / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3265, allocations: 0 / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.3265, allocations: 8 kB / 1.033 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.3266, allocations: 3.984 kB / 1.033 GB, free: 8.816 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.269e-05/0.3266, allocations: 117.8 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.3267, allocations: 0 / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.3269, allocations: 93.12 kB / 1.033 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3269, allocations: 3.984 kB / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3269, allocations: 0 / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3269, allocations: 0 / 1.033 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.3271, allocations: 161.6 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3271, allocations: 4.031 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.3271, allocations: 11.98 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3271, allocations: 0 / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3271, allocations: 4.25 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.3272, allocations: 0 / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3272, allocations: 4 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3274, allocations: 191.3 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.3274, allocations: 77.11 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.3274, allocations: 0 / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.3275, allocations: 11.98 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.3276, allocations: 4.031 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3276, allocations: 3.938 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.3276, allocations: 87.28 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3276, allocations: 0 / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001982/0.3278, allocations: 11.98 kB / 1.033 GB, free: 7.941 MB / 0.6823 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 (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.0001213/0.3279, allocations: 107.2 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.3281, allocations: 51.95 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3281, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.3282, allocations: 27.92 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.3284, allocations: 10.34 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.3287, allocations: 124.8 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3289, allocations: 0.677 MB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.3289, allocations: 0 / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.3289, allocations: 11.44 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3289, allocations: 0 / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of Templates: time 0.001981/0.3309, allocations: 471.9 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)