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.004772/0.004772, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001038/0.001038, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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 0.8318/0.8318, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 64.94 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 82.03 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002539/0.1539, allocations: 1.491 MB / 0.6771 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000303/0.1543, allocations: 108.5 kB / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.1543, allocations: 0 / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.1543, allocations: 7.938 kB / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.1544, allocations: 7.922 kB / 0.6772 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1546, allocations: 27.95 kB / 0.6772 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.1547, allocations: 43.8 kB / 0.6773 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.1548, allocations: 19.92 kB / 0.6773 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.1549, allocations: 15.94 kB / 0.6773 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.1549, allocations: 23.91 kB / 0.6773 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1549, allocations: 4 kB / 0.6773 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.155, allocations: 23.98 kB / 0.6774 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.1551, allocations: 15.92 kB / 0.6774 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.1551, allocations: 15.88 kB / 0.6774 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.1552, allocations: 55.84 kB / 0.6774 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1552, allocations: 0 / 0.6774 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.867e-06/0.1552, allocations: 0 / 0.6774 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1552, allocations: 7.938 kB / 0.6774 GB, free: 8.48 MB / 0.5137 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.0004917/0.1557, allocations: 383.2 kB / 0.6778 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1558, allocations: 16.03 kB / 0.6778 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.1558, allocations: 8.844 kB / 0.6778 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1559, allocations: 168.3 kB / 0.678 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1559, allocations: 384 / 0.678 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.156, allocations: 384 / 0.678 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1562, allocations: 78.2 kB / 0.6781 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1562, allocations: 192 / 0.6781 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1562, allocations: 7.938 kB / 0.6781 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1562, allocations: 4 kB / 0.6781 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.1565, allocations: 71.92 kB / 0.6782 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.1569, allocations: 296.8 kB / 0.6784 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1572, allocations: 70.47 kB / 0.6785 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.1573, allocations: 40.92 kB / 0.6785 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.1575, allocations: 105.1 kB / 0.6786 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1576, allocations: 38.56 kB / 0.6787 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1576, allocations: 4 kB / 0.6787 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000533/0.1581, allocations: 149.4 kB / 0.6788 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1582, allocations: 51.41 kB / 0.6789 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1583, allocations: 125.8 kB / 0.679 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1583, allocations: 25.7 kB / 0.679 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.1584, allocations: 100.1 kB / 0.6791 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1584, allocations: 7.812 kB / 0.6791 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1584, allocations: 17.72 kB / 0.6791 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1586, allocations: 314.8 kB / 0.6794 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1587, allocations: 35.97 kB / 0.6795 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1588, allocations: 43.95 kB / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.1591, allocations: 76.78 kB / 0.6796 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1591, allocations: 7.875 kB / 0.6796 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000304/0.1594, allocations: 109.6 kB / 0.6797 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1595, allocations: 5.875 kB / 0.6797 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1595, allocations: 3.938 kB / 0.6797 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1595, allocations: 0 / 0.6797 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1596, allocations: 15.98 kB / 0.6797 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1596, allocations: 3.938 kB / 0.6797 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.1597, allocations: 15.98 kB / 0.6797 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1597, allocations: 0 / 0.6797 GB, free: 5.883 MB / 0.5137 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 7.576e-05/0.1598, allocations: 122.4 kB / 0.6799 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1598, allocations: 11.91 kB / 0.6799 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.1602, allocations: 117.5 kB / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1602, allocations: 0 / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1602, allocations: 0 / 0.68 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1602, allocations: 3.984 kB / 0.68 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1604, allocations: 177.6 kB / 0.6802 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1604, allocations: 4 kB / 0.6802 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.1605, allocations: 15.97 kB / 0.6802 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1605, allocations: 4 kB / 0.6802 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1605, allocations: 0 / 0.6802 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1605, allocations: 0 / 0.6802 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1605, allocations: 0 / 0.6802 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.1608, allocations: 215.6 kB / 0.6804 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.1609, allocations: 89.05 kB / 0.6805 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1609, allocations: 0 / 0.6805 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.161, allocations: 15.98 kB / 0.6805 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1611, allocations: 3.984 kB / 0.6805 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1611, allocations: 0 / 0.6805 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.1611, allocations: 106.4 kB / 0.6806 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1612, allocations: 4 kB / 0.6806 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002151/0.1614, allocations: 11.94 kB / 0.6806 GB, free: 4.898 MB / 0.5137 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.0001323/0.1615, allocations: 99.25 kB / 0.6807 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1618, allocations: 75.91 kB / 0.6808 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1618, allocations: 0 / 0.6808 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.162, allocations: 55.89 kB / 0.6808 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1622, allocations: 7.938 kB / 0.6808 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.1626, allocations: 149.5 kB / 0.681 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1628, allocations: 0.6885 MB / 0.6816 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.1629, allocations: 8 kB / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.1629, allocations: 7.438 kB / 0.6817 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of SimCode: time 1.513e-06/0.1629, allocations: 0 / 0.6817 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of Templates: time 0.003013/0.1659, allocations: 0.8268 MB / 0.6825 GB, free: 2.93 MB / 0.5137 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)