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.0009194/0.0009193, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009006/0.0009007, allocations: 177.3 kB / 15.94 MB, free: 228 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.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.712/1.712, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005864/0.0005864, allocations: 18.94 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2569, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001944/0.2589, allocations: 1.187 MB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003143/0.2592, allocations: 100.5 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.2593, allocations: 4 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.2593, allocations: 3.938 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.2594, allocations: 11.92 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2596, allocations: 11.98 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.521e-05/0.2597, allocations: 27.97 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2599, allocations: 11.98 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.2599, allocations: 15.92 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.26, allocations: 23.91 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.26, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.2601, allocations: 15.98 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.2602, allocations: 15.92 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.2602, allocations: 29.7 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.2603, allocations: 35.94 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2603, allocations: 4 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2603, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2603, allocations: 0 / 0.7886 GB, free: 10.46 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.0006048/0.261, allocations: 379.4 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.261, allocations: 16.03 kB / 0.7889 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.261, allocations: 3.906 kB / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.2612, allocations: 175 kB / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2612, allocations: 8 kB / 0.7891 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2613, allocations: 3.938 kB / 0.7891 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2615, allocations: 85.66 kB / 0.7892 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2616, allocations: 0 / 0.7892 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2616, allocations: 3.984 kB / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2616, allocations: 0 / 0.7892 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.2619, allocations: 95.92 kB / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.2623, allocations: 288.8 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.2625, allocations: 82.47 kB / 0.7897 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.2627, allocations: 105.2 kB / 0.7898 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2628, allocations: 34.5 kB / 0.7898 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.2628, allocations: 0 / 0.7898 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000561/0.2633, allocations: 181.7 kB / 0.79 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/0.2634, allocations: 51.41 kB / 0.79 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.2635, allocations: 132.6 kB / 0.7901 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2636, allocations: 29.7 kB / 0.7902 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.2636, allocations: 100 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.2637, allocations: 7.906 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.2637, allocations: 0 / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2638, allocations: 318.7 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.2639, allocations: 47.95 kB / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2641, allocations: 59.98 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.2642, allocations: 47.97 kB / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2642, allocations: 0 / 0.7907 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000331/0.2646, allocations: 133.5 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2646, allocations: 4 kB / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2646, allocations: 0 / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2646, allocations: 0 / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2648, allocations: 19.98 kB / 0.7909 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2648, allocations: 0 / 0.7909 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.2649, allocations: 27.92 kB / 0.7909 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.2649, allocations: 0 / 0.7909 GB, free: 7.84 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 8.888e-05/0.265, allocations: 117.8 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.265, allocations: 8 kB / 0.791 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.2654, allocations: 141.5 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2654, allocations: 0 / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2654, allocations: 0 / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.2655, allocations: 7.984 kB / 0.7912 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2657, allocations: 181.5 kB / 0.7913 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2657, allocations: 0 / 0.7913 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.2658, allocations: 23.97 kB / 0.7914 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.2658, allocations: 0 / 0.7914 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2658, allocations: 0 / 0.7914 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2658, allocations: 0 / 0.7914 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2658, allocations: 3.938 kB / 0.7914 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.2662, allocations: 239.4 kB / 0.7916 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.2662, allocations: 84.95 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.2663, allocations: 0 / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2664, allocations: 15.98 kB / 0.7917 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.2664, allocations: 7.984 kB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2664, allocations: 0 / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.2665, allocations: 103.3 kB / 0.7918 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2665, allocations: 0 / 0.7918 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002113/0.2667, allocations: 8 kB / 0.7918 GB, free: 6.809 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.0001451/0.2669, allocations: 103.2 kB / 0.7919 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.2672, allocations: 107.8 kB / 0.792 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2673, allocations: 0 / 0.792 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.2674, allocations: 55.95 kB / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.2676, allocations: 7.891 kB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.2679, allocations: 156.7 kB / 0.7922 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2683, allocations: 0.6965 MB / 0.7929 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.2683, allocations: 0 / 0.7929 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.2683, allocations: 11.44 kB / 0.7929 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2683, allocations: 0 / 0.7929 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of Templates: time 0.00282/0.2712, allocations: 0.6473 MB / 0.7935 GB, free: 4.988 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: