Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7913/0.7913, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 176.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009093, allocations: 85.81 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001961, allocations: 270.8 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.583e-05, allocations: 8 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3589, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4916, allocations: 107.9 MB / 0.8628 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4918, allocations: 75.83 kB / 0.8628 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003143/0.495, allocations: 1.069 MB / 0.8639 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.751e-06/0.495, allocations: 3.984 kB / 0.8639 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.495, allocations: 3.938 kB / 0.8639 GB, free: 2.805 MB / 0.5261 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.0004389/0.4955, allocations: 366.3 kB / 0.8642 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4955, allocations: 12.03 kB / 0.8643 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.4956, allocations: 4 kB / 0.8643 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.4957, allocations: 172.4 kB / 0.8644 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4957, allocations: 7.938 kB / 0.8644 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.4957, allocations: 0 / 0.8644 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001152/0.4959, allocations: 28 kB / 0.8645 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.496, allocations: 53.61 kB / 0.8645 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.496, allocations: 4 kB / 0.8645 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.496, allocations: 0 / 0.8645 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.496, allocations: 0 / 0.8645 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.4966, allocations: 305.3 kB / 0.8648 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.825e-05/0.4967, allocations: 46.55 kB / 0.8648 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.4967, allocations: 32.94 kB / 0.8649 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.4969, allocations: 105.1 kB / 0.865 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.4969, allocations: 30.56 kB / 0.865 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.4969, allocations: 0 / 0.865 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002522/0.4972, allocations: 77.52 kB / 0.8651 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.4972, allocations: 51.41 kB / 0.8651 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4973, allocations: 118.1 kB / 0.8652 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4974, allocations: 25.7 kB / 0.8653 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.4974, allocations: 96.08 kB / 0.8654 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.4975, allocations: 15.8 kB / 0.8654 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.4975, allocations: 0 / 0.8654 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4976, allocations: 314.8 kB / 0.8657 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.4977, allocations: 15.98 kB / 0.8657 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.4977, allocations: 16 kB / 0.8657 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/0.4978, allocations: 19.98 kB / 0.8657 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4978, allocations: 4 kB / 0.8657 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001511/0.498, allocations: 77.61 kB / 0.8658 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.498, allocations: 5.562 kB / 0.8658 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.498, allocations: 0 / 0.8658 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.498, allocations: 0 / 0.8658 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.4982, allocations: 23.98 kB / 0.8658 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4982, allocations: 3.938 kB / 0.8658 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-05/0.4983, allocations: 19.98 kB / 0.8659 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.4983, allocations: 4 kB / 0.8659 GB, free: 0.5781 MB / 0.5261 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 () * 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 6.374e-05/0.4984, allocations: 105 kB / 0.866 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.4984, allocations: 11.86 kB / 0.866 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.4986, allocations: 82 kB / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4986, allocations: 0 / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4986, allocations: 0 / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4987, allocations: 0 / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.4988, allocations: 166.1 kB / 0.8662 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4988, allocations: 0 / 0.8662 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.4989, allocations: 23.97 kB / 0.8662 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.499, allocations: 0 / 0.8662 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.499, allocations: 7.953 kB / 0.8662 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.499, allocations: 0 / 0.8662 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.499, allocations: 3.938 kB / 0.8662 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.4992, allocations: 175.4 kB / 0.8664 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.4992, allocations: 81.02 kB / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.4993, allocations: 0 / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.4994, allocations: 23.92 kB / 0.8665 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.4995, allocations: 4.281 kB / 0.8665 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.4995, allocations: 0 / 0.8665 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.4995, allocations: 105.1 kB / 0.8666 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4995, allocations: 0 / 0.8666 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002239/0.4998, allocations: 11.94 kB / 0.8666 GB, free: 15.71 MB / 0.5417 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 () * 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.0001599/0.4999, allocations: 103.2 kB / 0.8667 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.5, allocations: 39.91 kB / 0.8668 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5001, allocations: 0 / 0.8668 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.5001, allocations: 16 kB / 0.8668 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.5003, allocations: 11.94 kB / 0.8668 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.5005, allocations: 95.78 kB / 0.8669 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.5008, allocations: 0.6885 MB / 0.8676 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.5009, allocations: 4 kB / 0.8676 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.5009, allocations: 7.438 kB / 0.8676 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.5009, allocations: 0 / 0.8676 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.002436/0.5033, allocations: 0.5931 MB / 0.8681 GB, free: 14.1 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)