Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007257/0.0007256, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004733/0.004733, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 258.5 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 14.89 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1512, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001473/0.1527, allocations: 1.206 MB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.153, allocations: 108.6 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.153, allocations: 0.5 kB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.153, allocations: 0 / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.1531, allocations: 13.11 kB / 0.6864 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1533, allocations: 26.44 kB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.1534, allocations: 35.86 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1535, allocations: 8 kB / 0.6865 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.562e-05/0.1535, allocations: 15.98 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1536, allocations: 23.84 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1536, allocations: 4 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.1537, allocations: 18.23 kB / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.1537, allocations: 8 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1538, allocations: 49.55 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1539, allocations: 56.02 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1539, allocations: 0 / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1539, allocations: 0 / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1539, allocations: 0.5312 kB / 0.6867 GB, free: 13.49 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.0005332/0.1545, allocations: 378.3 kB / 0.687 GB, free: 13.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1545, allocations: 12.02 kB / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.1546, allocations: 13.53 kB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1547, allocations: 172.2 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1547, allocations: 4.031 kB / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1547, allocations: 384 / 0.6872 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.155, allocations: 86.2 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.155, allocations: 192 / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1551, allocations: 4.594 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1551, allocations: 4 kB / 0.6873 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.1554, allocations: 92.52 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.1558, allocations: 296.8 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.156, allocations: 74.48 kB / 0.6877 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.1562, allocations: 56.91 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.1564, allocations: 117 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1565, allocations: 38.5 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1565, allocations: 4 kB / 0.688 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006083/0.1571, allocations: 181.6 kB / 0.6881 GB, free: 11.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1571, allocations: 55.41 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1572, allocations: 125.8 kB / 0.6883 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1573, allocations: 29.7 kB / 0.6883 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.1573, allocations: 92.12 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1574, allocations: 11.91 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.1574, allocations: 9.719 kB / 0.6884 GB, free: 11.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1575, allocations: 314.8 kB / 0.6887 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.1577, allocations: 51.95 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1578, allocations: 47.95 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.1582, allocations: 96.78 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1582, allocations: 3.938 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003595/0.1585, allocations: 137.5 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1585, allocations: 8 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1586, allocations: 4 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1586, allocations: 3.984 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1587, allocations: 19.98 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1587, allocations: 0 / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.1588, allocations: 15.98 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1588, allocations: 0 / 0.6891 GB, free: 10.75 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 8.198e-05/0.1589, allocations: 127.1 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1589, allocations: 7.906 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.1593, allocations: 141.5 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1593, allocations: 0 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1593, allocations: 0 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1593, allocations: 0 / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1595, allocations: 181.6 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1595, allocations: 0 / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1596, allocations: 23.98 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1596, allocations: 3.984 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1597, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1597, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1597, allocations: 0 / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.1601, allocations: 231.3 kB / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.1601, allocations: 96.89 kB / 0.6899 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1601, allocations: 0 / 0.6899 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1603, allocations: 19.98 kB / 0.6899 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1603, allocations: 3.984 kB / 0.6899 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1603, allocations: 4 kB / 0.6899 GB, free: 9.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.1604, allocations: 106.1 kB / 0.69 GB, free: 9.723 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1604, allocations: 0 / 0.69 GB, free: 9.723 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1606, allocations: 12 kB / 0.69 GB, free: 9.711 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.0001367/0.1607, allocations: 103.2 kB / 0.6901 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.1611, allocations: 99.91 kB / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1611, allocations: 0 / 0.6902 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1613, allocations: 56.23 kB / 0.6903 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1616, allocations: 16.09 kB / 0.6903 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.1619, allocations: 164.6 kB / 0.6904 GB, free: 9.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1621, allocations: 0.6848 MB / 0.6911 GB, free: 8.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.1621, allocations: 4.094 kB / 0.6911 GB, free: 8.539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.1622, allocations: 15.44 kB / 0.6911 GB, free: 8.523 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1622, allocations: 0 / 0.6911 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Templates: time 0.002667/0.1648, allocations: 0.6605 MB / 0.6918 GB, free: 7.867 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)