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.001315/0.001315, allocations: 102.3 kB / 16.27 MB, free: 5.859 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.001362/0.001362, allocations: 190.5 kB / 17.2 MB, free: 5.512 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002388/0.002388, allocations: 278.5 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.124/1.124, allocations: 178.6 MB / 0.5079 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 96.23 kB / 0.6071 GB, free: 9.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1682, allocations: 89.13 MB / 0.6941 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002625/0.1709, allocations: 1.495 MB / 0.6956 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000298/0.1712, allocations: 108.6 kB / 0.6957 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1712, allocations: 0 / 0.6957 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.1713, allocations: 7.922 kB / 0.6957 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.1713, allocations: 19.86 kB / 0.6957 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1715, allocations: 19.97 kB / 0.6957 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.816e-05/0.1716, allocations: 43.8 kB / 0.6958 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.1717, allocations: 8 kB / 0.6958 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.235e-05/0.1718, allocations: 19.92 kB / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.1718, allocations: 23.91 kB / 0.6958 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1718, allocations: 4 kB / 0.6958 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.204e-05/0.1719, allocations: 19.98 kB / 0.6959 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.172, allocations: 11.98 kB / 0.6959 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.172, allocations: 31.8 kB / 0.6959 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1721, allocations: 51.88 kB / 0.696 GB, free: 14.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1721, allocations: 3.984 kB / 0.696 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1721, allocations: 0 / 0.696 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.1721, allocations: 0 / 0.696 GB, free: 14.21 MB / 0.545 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.000509/0.1727, allocations: 377.9 kB / 0.6963 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1727, allocations: 8.031 kB / 0.6963 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1727, allocations: 12.84 kB / 0.6963 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1729, allocations: 178.4 kB / 0.6965 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1729, allocations: 8.25 kB / 0.6965 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.1729, allocations: 384 / 0.6965 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.1732, allocations: 78.16 kB / 0.6966 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1732, allocations: 192 / 0.6966 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1732, allocations: 3.938 kB / 0.6966 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1732, allocations: 0 / 0.6966 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.1735, allocations: 87.89 kB / 0.6967 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1739, allocations: 276.9 kB / 0.6969 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1741, allocations: 78.41 kB / 0.697 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1742, allocations: 40.91 kB / 0.6971 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.1745, allocations: 113.1 kB / 0.6972 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1745, allocations: 30.56 kB / 0.6972 GB, free: 12.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1745, allocations: 4 kB / 0.6972 GB, free: 12.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005498/0.1751, allocations: 141.5 kB / 0.6973 GB, free: 12.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1751, allocations: 55.41 kB / 0.6974 GB, free: 12.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1753, allocations: 129.8 kB / 0.6975 GB, free: 12.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1753, allocations: 25.7 kB / 0.6975 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.1753, allocations: 92.14 kB / 0.6976 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1754, allocations: 19.8 kB / 0.6976 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.1754, allocations: 13.66 kB / 0.6977 GB, free: 12.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1755, allocations: 318.8 kB / 0.698 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1757, allocations: 35.95 kB / 0.698 GB, free: 11.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1759, allocations: 39.95 kB / 0.698 GB, free: 11.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1761, allocations: 76.78 kB / 0.6981 GB, free: 11.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1762, allocations: 3.938 kB / 0.6981 GB, free: 11.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003344/0.1765, allocations: 109.6 kB / 0.6982 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1765, allocations: 4 kB / 0.6982 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1765, allocations: 4 kB / 0.6982 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1765, allocations: 0 / 0.6982 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1767, allocations: 19.91 kB / 0.6982 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1767, allocations: 4 kB / 0.6982 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.1768, allocations: 15.89 kB / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1768, allocations: 0 / 0.6983 GB, free: 11.62 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.591e-05/0.1769, allocations: 125.1 kB / 0.6984 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1769, allocations: 7.984 kB / 0.6984 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.1773, allocations: 113.5 kB / 0.6985 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1773, allocations: 3.938 kB / 0.6985 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1773, allocations: 0 / 0.6985 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1773, allocations: 0 / 0.6985 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1775, allocations: 185.6 kB / 0.6987 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1775, allocations: 4 kB / 0.6987 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.411e-05/0.1776, allocations: 15.98 kB / 0.6987 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1776, allocations: 4.312 kB / 0.6987 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1776, allocations: 7.922 kB / 0.6987 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1776, allocations: 0 / 0.6987 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1776, allocations: 0 / 0.6987 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.178, allocations: 215.3 kB / 0.6989 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1781, allocations: 85 kB / 0.699 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1781, allocations: 0 / 0.699 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1782, allocations: 11.98 kB / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1782, allocations: 0 / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1782, allocations: 4 kB / 0.699 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.814e-05/0.1783, allocations: 105.1 kB / 0.6991 GB, free: 10.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1783, allocations: 4 kB / 0.6991 GB, free: 10.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002237/0.1786, allocations: 11.94 kB / 0.6991 GB, free: 10.63 MB / 0.545 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 (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.0001351/0.1787, allocations: 99.25 kB / 0.6992 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.1791, allocations: 87.84 kB / 0.6993 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1791, allocations: 0 / 0.6993 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1793, allocations: 39.97 kB / 0.6993 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1795, allocations: 11.94 kB / 0.6993 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1798, allocations: 179.1 kB / 0.6995 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1802, allocations: 0.6885 MB / 0.7002 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.1802, allocations: 11.44 kB / 0.7002 GB, free: 9.457 MB / 0.545 GB Notification: Performance of SimCode: time 4.588e-06/0.1802, allocations: 0 / 0.7002 GB, free: 9.457 MB / 0.545 GB Notification: Performance of Templates: time 0.002339/0.1825, allocations: 0.9 MB / 0.7011 GB, free: 8.555 MB / 0.545 GB 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)