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.005243/0.005243, allocations: 104.1 kB / 15.74 MB, free: 6.066 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.001327/0.001327, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.9155/0.9155, allocations: 143.3 MB / 433.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 75.7 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1526, allocations: 82.03 MB / 0.6754 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002444/0.1551, allocations: 1.492 MB / 0.6769 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.1554, allocations: 116.5 kB / 0.677 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.1554, allocations: 4 kB / 0.677 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.1555, allocations: 3.938 kB / 0.677 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.1555, allocations: 3.938 kB / 0.677 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1557, allocations: 27.91 kB / 0.677 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.1558, allocations: 39.86 kB / 0.6771 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.1559, allocations: 15.92 kB / 0.6771 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.1559, allocations: 19.92 kB / 0.6771 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.156, allocations: 23.91 kB / 0.6771 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.156, allocations: 8 kB / 0.6771 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.1561, allocations: 15.98 kB / 0.6771 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.1561, allocations: 19.92 kB / 0.6772 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1561, allocations: 19.86 kB / 0.6772 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1563, allocations: 56.08 kB / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1563, allocations: 3.938 kB / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1563, allocations: 3.938 kB / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1563, allocations: 4 kB / 0.6772 GB, free: 8.734 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.0005004/0.1568, allocations: 383.1 kB / 0.6776 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1568, allocations: 12.03 kB / 0.6776 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.1569, allocations: 30.75 kB / 0.6777 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.1569, allocations: 8.891 kB / 0.6777 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.157, allocations: 176.3 kB / 0.6778 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1571, allocations: 4.375 kB / 0.6778 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1571, allocations: 384 / 0.6778 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.1573, allocations: 74.22 kB / 0.6779 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1573, allocations: 7.938 kB / 0.6779 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1574, allocations: 0 / 0.6779 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1574, allocations: 0 / 0.6779 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1577, allocations: 75.86 kB / 0.678 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.158, allocations: 284.9 kB / 0.6783 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1582, allocations: 74.52 kB / 0.6783 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1584, allocations: 40.91 kB / 0.6784 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.1586, allocations: 109.1 kB / 0.6785 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1587, allocations: 42.5 kB / 0.6785 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1587, allocations: 0 / 0.6785 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005385/0.1592, allocations: 141.5 kB / 0.6786 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1593, allocations: 51.41 kB / 0.6787 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1594, allocations: 132.7 kB / 0.6788 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1594, allocations: 29.7 kB / 0.6788 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.1594, allocations: 88.14 kB / 0.6789 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1595, allocations: 7.906 kB / 0.6789 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.1595, allocations: 21.7 kB / 0.679 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1596, allocations: 318.8 kB / 0.6793 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.1598, allocations: 39.95 kB / 0.6793 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1599, allocations: 31.97 kB / 0.6793 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1602, allocations: 88.64 kB / 0.6794 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1602, allocations: 0 / 0.6794 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003311/0.1606, allocations: 109.6 kB / 0.6795 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1606, allocations: 7.938 kB / 0.6795 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1606, allocations: 4 kB / 0.6795 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1606, allocations: 3.938 kB / 0.6795 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1607, allocations: 15.97 kB / 0.6796 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1607, allocations: 0 / 0.6796 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.1608, allocations: 19.88 kB / 0.6796 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1609, allocations: 8 kB / 0.6796 GB, free: 6.09 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.69e-05/0.1609, allocations: 117.8 kB / 0.6797 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.161, allocations: 4 kB / 0.6797 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.1614, allocations: 121.4 kB / 0.6798 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1614, allocations: 0 / 0.6798 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1614, allocations: 4 kB / 0.6798 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1614, allocations: 0 / 0.6798 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1616, allocations: 181.6 kB / 0.68 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1616, allocations: 0 / 0.68 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.1617, allocations: 15.98 kB / 0.68 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1617, allocations: 0 / 0.68 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1617, allocations: 4 kB / 0.68 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1617, allocations: 0 / 0.68 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1617, allocations: 0 / 0.68 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.1621, allocations: 219.7 kB / 0.6802 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.1621, allocations: 81.06 kB / 0.6803 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1622, allocations: 3.984 kB / 0.6803 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1623, allocations: 11.98 kB / 0.6803 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1623, allocations: 4.031 kB / 0.6803 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1623, allocations: 8 kB / 0.6803 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.1624, allocations: 99.27 kB / 0.6804 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1624, allocations: 0 / 0.6804 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002124/0.1626, allocations: 11.98 kB / 0.6804 GB, free: 5.117 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.0006822/0.1633, allocations: 0.7513 MB / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.1636, allocations: 75.92 kB / 0.6812 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1637, allocations: 0 / 0.6812 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1638, allocations: 47.95 kB / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.164, allocations: 0 / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.1645, allocations: 190.9 kB / 0.6815 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1648, allocations: 0.6923 MB / 0.6821 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.1648, allocations: 7.875 kB / 0.6821 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.1648, allocations: 19.44 kB / 0.6822 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1649, allocations: 4 kB / 0.6822 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.1882, allocations: 1.895 MB / 0.684 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.258, allocations: 7 kB / 0.684 GB, free: 1.441 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)