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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7197/0.7197, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 178.4 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007336/0.0007335, allocations: 89.53 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00166/0.00166, allocations: 277 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005189, allocations: 16 kB / 0.662 GB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.385, allocations: 79.31 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5215, allocations: 107.2 MB / 0.8441 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5218, allocations: 71.97 kB / 0.8442 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003215/0.525, allocations: 1.073 MB / 0.8452 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.314e-06/0.525, allocations: 0 / 0.8452 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5251, allocations: 0 / 0.8452 GB, free: 1.934 MB / 0.5105 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.0004818/0.5255, allocations: 387.2 kB / 0.8456 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5256, allocations: 11.97 kB / 0.8456 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.5256, allocations: 12.78 kB / 0.8456 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.5258, allocations: 182 kB / 0.8458 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.5258, allocations: 384 / 0.8458 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.5258, allocations: 384 / 0.8458 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.5261, allocations: 90.2 kB / 0.8459 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5261, allocations: 192 / 0.8459 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.5261, allocations: 3.938 kB / 0.8459 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5261, allocations: 0 / 0.8459 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.5264, allocations: 99.92 kB / 0.846 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.5269, allocations: 324.8 kB / 0.8463 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.5272, allocations: 78.47 kB / 0.8464 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.5273, allocations: 56.91 kB / 0.8464 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.5275, allocations: 105.1 kB / 0.8465 GB, free: 448 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5276, allocations: 38.55 kB / 0.8466 GB, free: 400 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5276, allocations: 0 / 0.8466 GB, free: 400 kB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005454/0.5281, allocations: 193.4 kB / 0.8467 GB, free: 200 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.5282, allocations: 55.34 kB / 0.8468 GB, free: 132 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.5283, allocations: 129.9 kB / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.5283, allocations: 25.7 kB / 0.8469 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.5284, allocations: 92.14 kB / 0.847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.5284, allocations: 11.78 kB / 0.847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.5284, allocations: 0 / 0.847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5286, allocations: 318.8 kB / 0.8473 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.5287, allocations: 47.95 kB / 0.8474 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.5289, allocations: 51.95 kB / 0.8474 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.5291, allocations: 100.8 kB / 0.8475 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5292, allocations: 3.938 kB / 0.8475 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003329/0.5295, allocations: 141.5 kB / 0.8477 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5295, allocations: 12 kB / 0.8477 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5295, allocations: 0 / 0.8477 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5296, allocations: 0 / 0.8477 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5297, allocations: 23.98 kB / 0.8477 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5297, allocations: 0 / 0.8477 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.5298, allocations: 19.98 kB / 0.8477 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.5298, allocations: 3.984 kB / 0.8477 GB, free: 15.13 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 () * 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.676e-05/0.5299, allocations: 117.8 kB / 0.8478 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.53, allocations: 11.84 kB / 0.8479 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.5304, allocations: 153.4 kB / 0.848 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5304, allocations: 8 kB / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5304, allocations: 0 / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5304, allocations: 0 / 0.848 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.5306, allocations: 185.5 kB / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5306, allocations: 0 / 0.8482 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5307, allocations: 23.98 kB / 0.8482 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5307, allocations: 0 / 0.8482 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.5307, allocations: 0 / 0.8482 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5307, allocations: 0 / 0.8482 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5308, allocations: 4 kB / 0.8482 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.5312, allocations: 243.2 kB / 0.8484 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.5312, allocations: 81.11 kB / 0.8485 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.5312, allocations: 0 / 0.8485 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5314, allocations: 15.98 kB / 0.8485 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.5314, allocations: 8.406 kB / 0.8485 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.5314, allocations: 0 / 0.8485 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.5315, allocations: 101.1 kB / 0.8486 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5315, allocations: 0 / 0.8486 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002271/0.5317, allocations: 16 kB / 0.8487 GB, free: 14.07 MB / 0.5261 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.000147/0.5319, allocations: 99.25 kB / 0.8487 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.5322, allocations: 115.8 kB / 0.8489 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5323, allocations: 0 / 0.8489 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5324, allocations: 47.91 kB / 0.8489 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.5327, allocations: 20.7 kB / 0.8489 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.5331, allocations: 160.5 kB / 0.8491 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.5333, allocations: 0.6809 MB / 0.8497 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.339e-05/0.5334, allocations: 8 kB / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.5334, allocations: 7.438 kB / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5334, allocations: 0 / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.002738/0.5361, allocations: 0.6338 MB / 0.8504 GB, free: 12.26 MB / 0.5261 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)