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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001216/0.001216, allocations: 196.4 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.00209, allocations: 283 kB / 291 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.872/0.872, allocations: 169.2 MB / 0.4985 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 91.2 kB / 0.5953 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1378, allocations: 86.99 MB / 0.6803 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.00236/0.1402, allocations: 1.541 MB / 0.6818 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.1404, allocations: 101.3 kB / 0.6819 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.1405, allocations: 1.719 kB / 0.6819 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.1405, allocations: 0 / 0.6819 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.925e-05/0.1406, allocations: 7.938 kB / 0.6819 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1407, allocations: 15.98 kB / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.1408, allocations: 52.66 kB / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.1409, allocations: 13.8 kB / 0.682 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.729e-05/0.141, allocations: 11.98 kB / 0.682 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.141, allocations: 31.84 kB / 0.682 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.141, allocations: 4 kB / 0.682 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.1411, allocations: 20.83 kB / 0.682 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.1411, allocations: 8 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.1412, allocations: 20.39 kB / 0.6821 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.193e-05/0.1413, allocations: 48.16 kB / 0.6821 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1413, allocations: 0 / 0.6821 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1413, allocations: 0 / 0.6821 GB, free: 15.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1413, allocations: 3.938 kB / 0.6821 GB, free: 15.14 MB / 494.1 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.0004487/0.1417, allocations: 375.3 kB / 0.6825 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1418, allocations: 8.031 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1418, allocations: 8.844 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1419, allocations: 180.9 kB / 0.6826 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1419, allocations: 4.375 kB / 0.6827 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.142, allocations: 4.375 kB / 0.6827 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1422, allocations: 74.22 kB / 0.6827 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1422, allocations: 192 / 0.6827 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1422, allocations: 3.938 kB / 0.6827 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1422, allocations: 0 / 0.6827 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.1425, allocations: 79.92 kB / 0.6828 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1428, allocations: 280.9 kB / 0.6831 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.143, allocations: 70.47 kB / 0.6831 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1432, allocations: 52.91 kB / 0.6832 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.1434, allocations: 101.1 kB / 0.6833 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1434, allocations: 34.55 kB / 0.6833 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.1434, allocations: 0 / 0.6833 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000504/0.1439, allocations: 157.4 kB / 0.6835 GB, free: 13.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.144, allocations: 55.34 kB / 0.6835 GB, free: 13.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.144, allocations: 128.2 kB / 0.6836 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1441, allocations: 25.7 kB / 0.6837 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.1441, allocations: 92.14 kB / 0.6838 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.1441, allocations: 11.81 kB / 0.6838 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1442, allocations: 17.72 kB / 0.6838 GB, free: 13.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.1443, allocations: 318.8 kB / 0.6841 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.1444, allocations: 35.95 kB / 0.6841 GB, free: 12.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1445, allocations: 35.97 kB / 0.6842 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.1448, allocations: 77.06 kB / 0.6842 GB, free: 12.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1448, allocations: 3.938 kB / 0.6842 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003025/0.1451, allocations: 121.5 kB / 0.6844 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1451, allocations: 4 kB / 0.6844 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1451, allocations: 4 kB / 0.6844 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1452, allocations: 0 / 0.6844 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1453, allocations: 15.98 kB / 0.6844 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1453, allocations: 3.938 kB / 0.6844 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.339e-05/0.1454, allocations: 15.97 kB / 0.6844 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1454, allocations: 0 / 0.6844 GB, free: 12.55 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.1455, allocations: 119.1 kB / 0.6845 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1455, allocations: 7.906 kB / 0.6845 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.1458, allocations: 129.4 kB / 0.6846 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1458, allocations: 0 / 0.6846 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1458, allocations: 0 / 0.6846 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1459, allocations: 0 / 0.6846 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.146, allocations: 189.6 kB / 0.6848 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.146, allocations: 0 / 0.6848 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.1461, allocations: 15.98 kB / 0.6848 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1461, allocations: 0 / 0.6848 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1461, allocations: 4 kB / 0.6848 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1461, allocations: 0 / 0.6848 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1461, allocations: 0 / 0.6848 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1465, allocations: 211.3 kB / 0.685 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.1465, allocations: 88.95 kB / 0.6851 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1465, allocations: 4 kB / 0.6851 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1467, allocations: 15.97 kB / 0.6851 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1467, allocations: 7.938 kB / 0.6852 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1467, allocations: 0 / 0.6852 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.946e-05/0.1468, allocations: 95.27 kB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1468, allocations: 4 kB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.147, allocations: 12 kB / 0.6853 GB, free: 11.56 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.1471, allocations: 107.2 kB / 0.6854 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.1474, allocations: 79.86 kB / 0.6854 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1474, allocations: 0 / 0.6854 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1476, allocations: 51.89 kB / 0.6855 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.1478, allocations: 9.969 kB / 0.6855 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.1481, allocations: 187.3 kB / 0.6857 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1484, allocations: 0.6885 MB / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.1484, allocations: 11.44 kB / 0.6864 GB, free: 10.37 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1484, allocations: 0 / 0.6864 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Templates: time 0.001914/0.1503, allocations: 0.8826 MB / 0.6872 GB, free: 9.488 MB / 494.1 MB 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)