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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008718/0.008718, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001911/0.001911, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9092/0.9092, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.91 kB / 0.5953 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1533, allocations: 82.03 MB / 0.6754 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002789/0.1561, allocations: 1.495 MB / 0.6769 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003091/0.1564, allocations: 116.5 kB / 0.677 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.1565, allocations: 0 / 0.677 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.1565, allocations: 3.938 kB / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.1566, allocations: 7.938 kB / 0.677 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.1568, allocations: 23.97 kB / 0.677 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.203e-05/0.1569, allocations: 47.78 kB / 0.6771 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.157, allocations: 11.98 kB / 0.6771 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.1571, allocations: 19.92 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.1571, allocations: 23.91 kB / 0.6771 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1571, allocations: 4 kB / 0.6771 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.1572, allocations: 19.98 kB / 0.6771 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.1573, allocations: 11.92 kB / 0.6772 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.1573, allocations: 19.88 kB / 0.6772 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1575, allocations: 64.06 kB / 0.6772 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1575, allocations: 4 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1575, allocations: 3.938 kB / 0.6772 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.1575, allocations: 0 / 0.6772 GB, free: 8.711 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.0005414/0.158, allocations: 375.2 kB / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1581, allocations: 8.031 kB / 0.6776 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.1581, allocations: 42.67 kB / 0.6776 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.1582, allocations: 12.83 kB / 0.6777 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1583, allocations: 172.3 kB / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1583, allocations: 4.375 kB / 0.6778 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.1583, allocations: 4.375 kB / 0.6778 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.1586, allocations: 78.2 kB / 0.6779 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1586, allocations: 3.938 kB / 0.6779 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1587, allocations: 0 / 0.6779 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1587, allocations: 4 kB / 0.6779 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.159, allocations: 75.92 kB / 0.678 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1594, allocations: 284.8 kB / 0.6783 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1596, allocations: 66.53 kB / 0.6783 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.1598, allocations: 48.92 kB / 0.6784 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.1601, allocations: 105.1 kB / 0.6785 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1601, allocations: 30.56 kB / 0.6785 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1601, allocations: 0 / 0.6785 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005972/0.1607, allocations: 157.5 kB / 0.6786 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1608, allocations: 51.41 kB / 0.6787 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.1609, allocations: 129 kB / 0.6788 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1609, allocations: 25.7 kB / 0.6788 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.161, allocations: 92.12 kB / 0.6789 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.161, allocations: 15.89 kB / 0.6789 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1611, allocations: 21.72 kB / 0.679 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1612, allocations: 314.8 kB / 0.6793 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1614, allocations: 31.97 kB / 0.6793 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1615, allocations: 40.14 kB / 0.6793 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1618, allocations: 88.8 kB / 0.6794 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1618, allocations: 0 / 0.6794 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003502/0.1622, allocations: 113.5 kB / 0.6795 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1622, allocations: 6.188 kB / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1622, allocations: 0 / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1623, allocations: 7.938 kB / 0.6795 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1624, allocations: 15.98 kB / 0.6796 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1624, allocations: 0 / 0.6796 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.1625, allocations: 23.88 kB / 0.6796 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1625, allocations: 0 / 0.6796 GB, free: 6.062 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 8.881e-05/0.1626, allocations: 120.4 kB / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1626, allocations: 0 / 0.6797 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.163, allocations: 125.5 kB / 0.6798 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.163, allocations: 4 kB / 0.6798 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.163, allocations: 0 / 0.6798 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1631, allocations: 3.984 kB / 0.6798 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1633, allocations: 173.6 kB / 0.68 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1633, allocations: 7.938 kB / 0.68 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.1634, allocations: 15.97 kB / 0.68 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1634, allocations: 4 kB / 0.68 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1634, allocations: 0 / 0.68 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1634, allocations: 4 kB / 0.68 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1635, allocations: 0 / 0.68 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.1639, allocations: 211.3 kB / 0.6802 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.1639, allocations: 89.06 kB / 0.6803 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.164, allocations: 4 kB / 0.6803 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1641, allocations: 7.984 kB / 0.6803 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.1641, allocations: 11.98 kB / 0.6803 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1641, allocations: 0 / 0.6803 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.362e-05/0.1642, allocations: 95.27 kB / 0.6804 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 0 / 0.6804 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002321/0.1644, allocations: 16 kB / 0.6804 GB, free: 5.086 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.0007731/0.1652, allocations: 0.7397 MB / 0.6812 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.1656, allocations: 87.84 kB / 0.6812 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1656, allocations: 0 / 0.6812 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1658, allocations: 40.25 kB / 0.6813 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.1661, allocations: 7.984 kB / 0.6813 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.1666, allocations: 190.9 kB / 0.6815 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1669, allocations: 0.6846 MB / 0.6821 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.167, allocations: 8.031 kB / 0.6821 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.167, allocations: 19.42 kB / 0.6822 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.167, allocations: 0 / 0.6822 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.1882, allocations: 1.89 MB / 0.684 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.043, allocations: 10 kB / 0.684 GB, free: 1.418 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)