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: "" <> 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.0009434/0.0009435, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005657/0.005657, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 0.9874/0.9874, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 12 kB / 0.5165 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 83.42 MB / 0.598 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001549/0.161, allocations: 1.217 MB / 0.5992 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.1613, allocations: 104.6 kB / 0.5993 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.1613, allocations: 0 / 0.5993 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.1614, allocations: 3.984 kB / 0.5993 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.1615, allocations: 7.938 kB / 0.5993 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1616, allocations: 23.91 kB / 0.5993 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.1617, allocations: 39.91 kB / 0.5993 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.1618, allocations: 15.98 kB / 0.5993 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.1619, allocations: 19.92 kB / 0.5994 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.1619, allocations: 15.92 kB / 0.5994 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1619, allocations: 4 kB / 0.5994 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.162, allocations: 15.98 kB / 0.5994 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.162, allocations: 11.92 kB / 0.5994 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.1621, allocations: 45.56 kB / 0.5994 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1622, allocations: 59.78 kB / 0.5995 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1622, allocations: 0 / 0.5995 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.562e-06/0.1622, allocations: 3.938 kB / 0.5995 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1622, allocations: 0 / 0.5995 GB, free: 6.004 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.0004887/0.1627, allocations: 383.5 kB / 0.5999 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1628, allocations: 8.031 kB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.1628, allocations: 30.75 kB / 0.5999 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.1628, allocations: 12.84 kB / 0.5999 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1629, allocations: 176.3 kB / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.163, allocations: 384 / 0.6001 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.163, allocations: 4.375 kB / 0.6001 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1632, allocations: 78.22 kB / 0.6002 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1633, allocations: 7.938 kB / 0.6002 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1633, allocations: 7.984 kB / 0.6002 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1633, allocations: 0 / 0.6002 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1636, allocations: 99.86 kB / 0.6003 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.1639, allocations: 288.8 kB / 0.6006 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1642, allocations: 78.53 kB / 0.6006 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1643, allocations: 52.91 kB / 0.6007 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.1646, allocations: 113.1 kB / 0.6008 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1646, allocations: 30.56 kB / 0.6008 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1646, allocations: 3.938 kB / 0.6008 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005785/0.1652, allocations: 181.4 kB / 0.601 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1652, allocations: 55.41 kB / 0.601 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.1653, allocations: 131.8 kB / 0.6012 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1654, allocations: 25.7 kB / 0.6012 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.1654, allocations: 92.12 kB / 0.6013 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.1654, allocations: 7.906 kB / 0.6013 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.1655, allocations: 9.719 kB / 0.6013 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1656, allocations: 318.8 kB / 0.6016 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1658, allocations: 47.95 kB / 0.6017 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1659, allocations: 51.89 kB / 0.6017 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1662, allocations: 108.7 kB / 0.6018 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1662, allocations: 4 kB / 0.6018 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003396/0.1666, allocations: 133.5 kB / 0.6019 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1666, allocations: 4 kB / 0.6019 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1666, allocations: 0 / 0.6019 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1666, allocations: 336 / 0.6019 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1667, allocations: 23.97 kB / 0.602 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1668, allocations: 0 / 0.602 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.39e-05/0.1668, allocations: 19.98 kB / 0.602 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1669, allocations: 0 / 0.602 GB, free: 3.215 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 7.631e-05/0.1669, allocations: 117.8 kB / 0.6021 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.167, allocations: 11.89 kB / 0.6021 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.1674, allocations: 145.4 kB / 0.6022 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1674, allocations: 0 / 0.6022 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1674, allocations: 0 / 0.6022 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1674, allocations: 0 / 0.6022 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1676, allocations: 185.6 kB / 0.6024 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1676, allocations: 4 kB / 0.6024 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.1677, allocations: 19.98 kB / 0.6024 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1677, allocations: 0 / 0.6024 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1677, allocations: 4 kB / 0.6025 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1677, allocations: 3.984 kB / 0.6025 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1677, allocations: 0 / 0.6025 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.1681, allocations: 239.3 kB / 0.6027 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.1681, allocations: 81.09 kB / 0.6028 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1681, allocations: 0 / 0.6028 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1682, allocations: 15.98 kB / 0.6028 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1683, allocations: 4 kB / 0.6028 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.1683, allocations: 0 / 0.6028 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.1683, allocations: 107.2 kB / 0.6029 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1684, allocations: 4 kB / 0.6029 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002134/0.1686, allocations: 11.91 kB / 0.6029 GB, free: 2.172 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.0006133/0.1692, allocations: 0.767 MB / 0.6036 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.1695, allocations: 95.92 kB / 0.6037 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1696, allocations: 7.938 kB / 0.6037 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.1697, allocations: 55.95 kB / 0.6038 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.17, allocations: 3.938 kB / 0.6038 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.1704, allocations: 209 kB / 0.604 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1707, allocations: 0.6887 MB / 0.6047 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.1707, allocations: 3.938 kB / 0.6047 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.1707, allocations: 19.44 kB / 0.6047 GB, free: 248 kB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1707, allocations: 0 / 0.6047 GB, free: 248 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2999/0.4706, allocations: 1.555 MB / 0.6062 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.4709, allocations: 204 kB / 0.6064 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.103, allocations: 3.469 kB / 0.6064 GB, free: 40.68 MB / 0.4981 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)