Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.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.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, 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.001432/0.001433, 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.829/1.829, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.759/1.759, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005215/0.0005215, allocations: 14.53 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2647, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00224/0.267, allocations: 1.187 MB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.2673, allocations: 112.5 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.2674, allocations: 0 / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.2674, allocations: 0 / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.2675, allocations: 11.92 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.2677, allocations: 15.92 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.2678, allocations: 35.92 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2679, allocations: 11.98 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.268, allocations: 19.92 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.2681, allocations: 19.91 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2681, allocations: 4 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.2682, allocations: 11.98 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.2682, allocations: 15.92 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2683, allocations: 29.7 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2684, allocations: 39.94 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.2684, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2684, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2684, allocations: 0 / 0.7888 GB, free: 10.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005731/0.269, allocations: 375.4 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.269, allocations: 19.97 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.2691, allocations: 15.89 kB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2692, allocations: 174.4 kB / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2692, allocations: 0 / 0.7893 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2693, allocations: 4 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.2695, allocations: 89.64 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2696, allocations: 0 / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2696, allocations: 0 / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2696, allocations: 0 / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.27, allocations: 95.92 kB / 0.7895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.2704, allocations: 292.7 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2707, allocations: 78.53 kB / 0.7898 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2708, allocations: 60.84 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.2711, allocations: 109.1 kB / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2711, allocations: 30.56 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.2711, allocations: 0 / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005364/0.2717, allocations: 185.5 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.2718, allocations: 55.34 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2719, allocations: 125.8 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2719, allocations: 25.7 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.272, allocations: 96.05 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.272, allocations: 3.906 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.272, allocations: 0 / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2722, allocations: 326.8 kB / 0.7908 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2723, allocations: 47.95 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2724, allocations: 47.97 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2726, allocations: 47.95 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2726, allocations: 0 / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002948/0.2729, allocations: 137.8 kB / 0.7911 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2729, allocations: 4 kB / 0.7911 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2729, allocations: 4 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2729, allocations: 0 / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.2731, allocations: 23.97 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.2731, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.2732, allocations: 16.03 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2732, allocations: 7.984 kB / 0.7911 GB, free: 7.734 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 (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 7.999e-05/0.2733, allocations: 121.8 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2733, allocations: 3.984 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.2737, allocations: 145.5 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2737, allocations: 0 / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2737, allocations: 0 / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2737, allocations: 4 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.2739, allocations: 181.5 kB / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2739, allocations: 0 / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.274, allocations: 23.98 kB / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.274, allocations: 0 / 0.7916 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.274, allocations: 3.984 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.274, allocations: 0 / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.274, allocations: 7.938 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.2744, allocations: 223.4 kB / 0.7918 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.259e-05/0.2745, allocations: 85 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2745, allocations: 4 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/0.2746, allocations: 23.98 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.2747, allocations: 11.92 kB / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2747, allocations: 0 / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.728e-05/0.2747, allocations: 95.27 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2747, allocations: 0 / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002264/0.275, allocations: 16 kB / 0.792 GB, free: 6.695 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 (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.0001851/0.2752, allocations: 107.2 kB / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.2755, allocations: 103.8 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2755, allocations: 0 / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2756, allocations: 51.97 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2759, allocations: 14.91 kB / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.2762, allocations: 156.6 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.2765, allocations: 0.6926 MB / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.2765, allocations: 0 / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.2766, allocations: 15.44 kB / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2766, allocations: 0 / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.002854/0.2794, allocations: 0.6469 MB / 0.7938 GB, free: 4.867 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: