Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.00114/0.00114, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 196.4 kB / 16.79 MB, free: 6.809 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.308/1.308, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.147/1.147, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001184, allocations: 64.08 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1661, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002597/0.1687, allocations: 1.545 MB / 0.5958 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.1691, allocations: 124.5 kB / 0.5959 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.1691, allocations: 0 / 0.5959 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.1692, allocations: 0 / 0.5959 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.1692, allocations: 3.938 kB / 0.5959 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1694, allocations: 15.98 kB / 0.5959 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.1695, allocations: 47.84 kB / 0.596 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.1696, allocations: 15.98 kB / 0.596 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.1696, allocations: 15.92 kB / 0.596 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.1696, allocations: 23.91 kB / 0.596 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1697, allocations: 4 kB / 0.596 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.1697, allocations: 15.98 kB / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1698, allocations: 15.88 kB / 0.596 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.1698, allocations: 19.86 kB / 0.5961 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.439e-05/0.1699, allocations: 43.92 kB / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1699, allocations: 0 / 0.5961 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1699, allocations: 4 kB / 0.5961 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1699, allocations: 0 / 0.5961 GB, free: 8.16 MB / 0.4981 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.0005016/0.1705, allocations: 371.5 kB / 0.5965 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.1705, allocations: 16.02 kB / 0.5965 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.1705, allocations: 8.844 kB / 0.5965 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1706, allocations: 169.9 kB / 0.5966 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1707, allocations: 4.375 kB / 0.5966 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1707, allocations: 384 / 0.5966 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1709, allocations: 86.14 kB / 0.5967 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.171, allocations: 192 / 0.5967 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.171, allocations: 3.938 kB / 0.5967 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.171, allocations: 0 / 0.5967 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.1713, allocations: 75.91 kB / 0.5968 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.1716, allocations: 292.8 kB / 0.5971 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1719, allocations: 66.52 kB / 0.5971 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.172, allocations: 44.81 kB / 0.5972 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.1723, allocations: 113.1 kB / 0.5973 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1723, allocations: 34.56 kB / 0.5973 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1723, allocations: 0 / 0.5973 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005366/0.1729, allocations: 141.6 kB / 0.5975 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1729, allocations: 51.41 kB / 0.5975 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.173, allocations: 132.6 kB / 0.5976 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.173, allocations: 29.64 kB / 0.5977 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.1731, allocations: 99.97 kB / 0.5978 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1731, allocations: 7.906 kB / 0.5978 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.1732, allocations: 13.72 kB / 0.5978 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1733, allocations: 318.8 kB / 0.5981 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1734, allocations: 39.97 kB / 0.5981 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1736, allocations: 35.95 kB / 0.5982 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1739, allocations: 76.78 kB / 0.5982 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1739, allocations: 7.938 kB / 0.5982 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003304/0.1742, allocations: 113.5 kB / 0.5984 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1742, allocations: 4 kB / 0.5984 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1743, allocations: 0 / 0.5984 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1743, allocations: 0 / 0.5984 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1744, allocations: 19.92 kB / 0.5984 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1744, allocations: 4 kB / 0.5984 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.1745, allocations: 11.98 kB / 0.5984 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1745, allocations: 3.938 kB / 0.5984 GB, free: 5.57 MB / 0.4981 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 0.0001025/0.1746, allocations: 121.8 kB / 0.5985 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1746, allocations: 8 kB / 0.5985 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.175, allocations: 117.5 kB / 0.5986 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.175, allocations: 0 / 0.5986 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.175, allocations: 0 / 0.5986 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1751, allocations: 0 / 0.5986 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1752, allocations: 185.5 kB / 0.5988 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1753, allocations: 0 / 0.5988 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1754, allocations: 27.91 kB / 0.5988 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1754, allocations: 0 / 0.5988 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1754, allocations: 3.938 kB / 0.5988 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1754, allocations: 0 / 0.5988 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1754, allocations: 4.375 kB / 0.5988 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.1758, allocations: 207.4 kB / 0.599 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1758, allocations: 85.02 kB / 0.5991 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1759, allocations: 0 / 0.5991 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.176, allocations: 15.98 kB / 0.5991 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.176, allocations: 3.984 kB / 0.5991 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.176, allocations: 4 kB / 0.5991 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.1761, allocations: 99.27 kB / 0.5992 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1761, allocations: 0 / 0.5992 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002318/0.1763, allocations: 8 kB / 0.5992 GB, free: 4.59 MB / 0.4981 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.0001862/0.1765, allocations: 103.2 kB / 0.5993 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.1769, allocations: 83.84 kB / 0.5994 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1769, allocations: 0 / 0.5994 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1771, allocations: 47.95 kB / 0.5995 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1774, allocations: 3.938 kB / 0.5995 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.1778, allocations: 196.9 kB / 0.5997 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1781, allocations: 0.6926 MB / 0.6003 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.1781, allocations: 7.438 kB / 0.6003 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.094e-06/0.1781, allocations: 7.938 kB / 0.6004 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of Templates: time 0.002561/0.1807, allocations: 0.8906 MB / 0.6012 GB, free: 2.504 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)