Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5169/0.5169, allocations: 95.62 MB / 110.6 MB, free: 9.398 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001004/0.001004, allocations: 170.4 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.253/1.253, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001831/0.001831, allocations: 104.5 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003581, allocations: 8 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5754, allocations: 93.76 MB / 0.6035 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5758, allocations: 68.34 kB / 0.6036 GB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003137/0.5789, allocations: 1.046 MB / 0.6046 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5789, allocations: 0 / 0.6046 GB, free: 12.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.579, allocations: 0 / 0.6046 GB, free: 12.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005196/0.5795, allocations: 390.4 kB / 0.605 GB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5795, allocations: 11.98 kB / 0.605 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.5796, allocations: 4 kB / 0.605 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.5798, allocations: 178.9 kB / 0.6052 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.5798, allocations: 7.938 kB / 0.6052 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.5798, allocations: 0 / 0.6052 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.5801, allocations: 92.53 kB / 0.6053 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5801, allocations: 0 / 0.6053 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.5802, allocations: 0 / 0.6053 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5802, allocations: 4 kB / 0.6053 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.5805, allocations: 97.98 kB / 0.6054 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.5811, allocations: 317.5 kB / 0.6057 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.5814, allocations: 92.89 kB / 0.6058 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.5816, allocations: 101.2 kB / 0.6059 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5816, allocations: 43.41 kB / 0.6059 GB, free: 11.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5816, allocations: 4 kB / 0.6059 GB, free: 11.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006221/0.5822, allocations: 182.8 kB / 0.6061 GB, free: 10.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.5823, allocations: 55.34 kB / 0.6061 GB, free: 10.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.5824, allocations: 116.3 kB / 0.6062 GB, free: 10.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5824, allocations: 29.7 kB / 0.6063 GB, free: 10.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.5825, allocations: 90.83 kB / 0.6064 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.5825, allocations: 11.75 kB / 0.6064 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5825, allocations: 0 / 0.6064 GB, free: 10.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5827, allocations: 321.6 kB / 0.6067 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.5829, allocations: 54.95 kB / 0.6067 GB, free: 10.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.583, allocations: 43.77 kB / 0.6068 GB, free: 10.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.5832, allocations: 54.14 kB / 0.6068 GB, free: 10.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5832, allocations: 0 / 0.6068 GB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003447/0.5836, allocations: 141.3 kB / 0.607 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5836, allocations: 5.719 kB / 0.607 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5836, allocations: 0 / 0.607 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/0.5836, allocations: 0 / 0.607 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.5838, allocations: 27.92 kB / 0.607 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5838, allocations: 4 kB / 0.607 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/0.5839, allocations: 16.86 kB / 0.607 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.584, allocations: 3.984 kB / 0.607 GB, free: 9.973 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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 0.0001039/0.5841, allocations: 112.8 kB / 0.6071 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.5841, allocations: 11.86 kB / 0.6071 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.5845, allocations: 144.9 kB / 0.6073 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5845, allocations: 4 kB / 0.6073 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5846, allocations: 0 / 0.6073 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.5846, allocations: 4 kB / 0.6073 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.5848, allocations: 183.4 kB / 0.6074 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5848, allocations: 0 / 0.6074 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5849, allocations: 23.67 kB / 0.6075 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5849, allocations: 0 / 0.6075 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5849, allocations: 7.891 kB / 0.6075 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5849, allocations: 4 kB / 0.6075 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5849, allocations: 0 / 0.6075 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.5853, allocations: 232 kB / 0.6077 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.5854, allocations: 85.02 kB / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5854, allocations: 0 / 0.6078 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5855, allocations: 19.94 kB / 0.6078 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.5856, allocations: 15.47 kB / 0.6078 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.5856, allocations: 0 / 0.6078 GB, free: 9.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.5857, allocations: 105.8 kB / 0.6079 GB, free: 8.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5857, allocations: 3.938 kB / 0.6079 GB, free: 8.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.5859, allocations: 12 kB / 0.6079 GB, free: 8.977 MB / 410.7 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 (3): * Single equations (assignments): 3 * 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.0001368/0.586, allocations: 95.25 kB / 0.608 GB, free: 8.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.5864, allocations: 113.6 kB / 0.6081 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5864, allocations: 0 / 0.6081 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.5866, allocations: 54.72 kB / 0.6082 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.5867, allocations: 3.984 kB / 0.6082 GB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.5871, allocations: 166.4 kB / 0.6083 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.5875, allocations: 0.6887 MB / 0.609 GB, free: 7.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.5875, allocations: 0 / 0.609 GB, free: 7.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.5875, allocations: 11.44 kB / 0.609 GB, free: 7.812 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5875, allocations: 0 / 0.609 GB, free: 7.812 MB / 410.7 MB Notification: Performance of Templates: time 0.002792/0.5903, allocations: 0.6381 MB / 0.6097 GB, free: 7.195 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)