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.001254/0.001254, allocations: 115.2 kB / 16.37 MB, free: 6.434 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.001182/0.001182, allocations: 197.1 kB / 17.31 MB, free: 5.777 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 295.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9064/0.9064, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002023, allocations: 91.25 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1485, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002618/0.1512, allocations: 1.486 MB / 0.6831 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.1515, allocations: 104.6 kB / 0.6832 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.1515, allocations: 0 / 0.6832 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.1516, allocations: 3.938 kB / 0.6832 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.1516, allocations: 19.92 kB / 0.6832 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1518, allocations: 19.91 kB / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.968e-05/0.1519, allocations: 51.84 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.152, allocations: 11.98 kB / 0.6833 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.152, allocations: 12 kB / 0.6833 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.509e-05/0.1521, allocations: 27.84 kB / 0.6833 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1521, allocations: 4 kB / 0.6833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.1522, allocations: 19.98 kB / 0.6833 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.1522, allocations: 15.92 kB / 0.6833 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.1523, allocations: 23.86 kB / 0.6834 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1524, allocations: 67.67 kB / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1524, allocations: 0 / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1524, allocations: 0 / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1524, allocations: 0 / 0.6834 GB, free: 5.609 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.0004549/0.1529, allocations: 371.3 kB / 0.6838 GB, free: 5.195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1529, allocations: 8.031 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1529, allocations: 8.844 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1531, allocations: 180.2 kB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.1531, allocations: 4.375 kB / 0.684 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1531, allocations: 4.375 kB / 0.684 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1533, allocations: 70.22 kB / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1533, allocations: 192 / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1533, allocations: 7.922 kB / 0.684 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1534, allocations: 0 / 0.684 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.1536, allocations: 83.8 kB / 0.6841 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.1539, allocations: 281 kB / 0.6844 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1541, allocations: 70.47 kB / 0.6845 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1543, allocations: 48.91 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.1545, allocations: 109.1 kB / 0.6846 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1545, allocations: 34.5 kB / 0.6846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1545, allocations: 0 / 0.6846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004991/0.1551, allocations: 153.7 kB / 0.6848 GB, free: 4.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1551, allocations: 51.41 kB / 0.6848 GB, free: 3.953 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.1552, allocations: 133.2 kB / 0.685 GB, free: 3.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1552, allocations: 25.7 kB / 0.685 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.1553, allocations: 88.12 kB / 0.6851 GB, free: 3.695 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1553, allocations: 15.81 kB / 0.6851 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.1553, allocations: 13.72 kB / 0.6851 GB, free: 3.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.1554, allocations: 318.8 kB / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1556, allocations: 35.95 kB / 0.6854 GB, free: 3.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1557, allocations: 39.95 kB / 0.6855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.156, allocations: 80.72 kB / 0.6856 GB, free: 3.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.156, allocations: 3.938 kB / 0.6856 GB, free: 3.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002898/0.1563, allocations: 105.6 kB / 0.6857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1563, allocations: 8 kB / 0.6857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1563, allocations: 3.984 kB / 0.6857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1563, allocations: 4 kB / 0.6857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1564, allocations: 19.98 kB / 0.6857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1564, allocations: 0 / 0.6857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.1565, allocations: 7.984 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1565, allocations: 7.938 kB / 0.6857 GB, free: 3.02 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.824e-05/0.1566, allocations: 121.8 kB / 0.6858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1566, allocations: 7.844 kB / 0.6858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.157, allocations: 117.5 kB / 0.6859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.157, allocations: 4 kB / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.157, allocations: 0 / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.157, allocations: 0 / 0.6859 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1572, allocations: 177.6 kB / 0.6861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1572, allocations: 0 / 0.6861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.1573, allocations: 23.97 kB / 0.6861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1573, allocations: 7.938 kB / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1573, allocations: 0 / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1573, allocations: 0 / 0.6861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1573, allocations: 4 kB / 0.6861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.1577, allocations: 215.2 kB / 0.6864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.1577, allocations: 84.95 kB / 0.6864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1578, allocations: 4 kB / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.1579, allocations: 7.984 kB / 0.6864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1579, allocations: 4 kB / 0.6865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1579, allocations: 3.984 kB / 0.6865 GB, free: 2.148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.158, allocations: 99.27 kB / 0.6865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.158, allocations: 0 / 0.6865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1582, allocations: 12 kB / 0.6866 GB, free: 2.039 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.0001169/0.1583, allocations: 99.25 kB / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1586, allocations: 87.84 kB / 0.6867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1586, allocations: 0 / 0.6867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1588, allocations: 36.3 kB / 0.6868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.159, allocations: 11.94 kB / 0.6868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.1593, allocations: 161.5 kB / 0.6869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1595, allocations: 0.6807 MB / 0.6876 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.776e-05/0.1596, allocations: 8.078 kB / 0.6876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.1596, allocations: 7.438 kB / 0.6876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1596, allocations: 0 / 0.6876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of Templates: time 0.002657/0.1623, allocations: 0.8118 MB / 0.6884 GB, free: 92 kB / 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)