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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 219.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9054/0.9054, allocations: 145 MB / 457.4 MB, free: 15.52 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 70.48 kB / 0.6332 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1652, allocations: 87.88 MB / 0.719 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.00273/0.1679, allocations: 1.509 MB / 0.7205 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003291/0.1683, allocations: 116.5 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.1683, allocations: 0 / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.108e-05/0.1683, allocations: 7.922 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.1684, allocations: 3.938 kB / 0.7206 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1686, allocations: 31.91 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.1687, allocations: 39.86 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1688, allocations: 15.97 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.1688, allocations: 8 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.1689, allocations: 31.84 kB / 0.7207 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1689, allocations: 4 kB / 0.7207 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.169, allocations: 23.92 kB / 0.7207 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.1691, allocations: 11.98 kB / 0.7208 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1691, allocations: 19.88 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1692, allocations: 63.72 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1692, allocations: 0 / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1692, allocations: 4 kB / 0.7208 GB, free: 13.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.1692, allocations: 0 / 0.7208 GB, free: 13.54 MB / 0.545 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.0005569/0.1698, allocations: 298.1 kB / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1698, allocations: 12.03 kB / 0.7211 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.1699, allocations: 30.75 kB / 0.7212 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1699, allocations: 16.88 kB / 0.7212 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1701, allocations: 117.9 kB / 0.7213 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1701, allocations: 4.375 kB / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1701, allocations: 8.375 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1703, allocations: 74.16 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1704, allocations: 11.86 kB / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1704, allocations: 0 / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1704, allocations: 0 / 0.7214 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.1707, allocations: 75.92 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.1711, allocations: 255.9 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1713, allocations: 70.47 kB / 0.7218 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1714, allocations: 44.91 kB / 0.7218 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/0.1717, allocations: 31.97 kB / 0.7218 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1717, allocations: 30.56 kB / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1717, allocations: 0 / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005418/0.1722, allocations: 145.6 kB / 0.722 GB, free: 12.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1723, allocations: 51.41 kB / 0.7221 GB, free: 12.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1724, allocations: 125.8 kB / 0.7222 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1724, allocations: 25.7 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1725, allocations: 96.09 kB / 0.7223 GB, free: 11.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.1725, allocations: 15.86 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.1725, allocations: 21.72 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1727, allocations: 318.8 kB / 0.7226 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1728, allocations: 35.95 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1729, allocations: 39.95 kB / 0.7227 GB, free: 11.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.1732, allocations: 84.72 kB / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1732, allocations: 0 / 0.7228 GB, free: 11.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003068/0.1735, allocations: 105.6 kB / 0.7229 GB, free: 11.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1735, allocations: 4 kB / 0.7229 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1735, allocations: 0 / 0.7229 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1735, allocations: 4 kB / 0.7229 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1737, allocations: 19.97 kB / 0.7229 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1737, allocations: 3.938 kB / 0.7229 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.1737, allocations: 15.98 kB / 0.7229 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1737, allocations: 336 / 0.7229 GB, free: 11.2 MB / 0.545 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.44e-05/0.1738, allocations: 113.8 kB / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1739, allocations: 7.953 kB / 0.7231 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.1742, allocations: 129.6 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1742, allocations: 0 / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1742, allocations: 0 / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1742, allocations: 0 / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.1744, allocations: 160.6 kB / 0.7233 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1744, allocations: 0 / 0.7233 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1745, allocations: 15.98 kB / 0.7233 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1745, allocations: 0 / 0.7233 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1745, allocations: 8 kB / 0.7234 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1745, allocations: 7.922 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1745, allocations: 0 / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.1749, allocations: 207.4 kB / 0.7236 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.1749, allocations: 7.922 kB / 0.7236 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1749, allocations: 4 kB / 0.7236 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.175, allocations: 15.98 kB / 0.7236 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1751, allocations: 4 kB / 0.7236 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1751, allocations: 0 / 0.7236 GB, free: 10.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.249e-05/0.1751, allocations: 103.2 kB / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1751, allocations: 0 / 0.7237 GB, free: 10.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002299/0.1754, allocations: 8 kB / 0.7237 GB, free: 10.34 MB / 0.545 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.0007276/0.1761, allocations: 0.7435 MB / 0.7244 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.1764, allocations: 79.92 kB / 0.7245 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1764, allocations: 0 / 0.7245 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.1766, allocations: 51.83 kB / 0.7245 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.1768, allocations: 0 / 0.7245 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.1773, allocations: 199 kB / 0.7247 GB, free: 9.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1776, allocations: 0.6885 MB / 0.7254 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.1777, allocations: 4 kB / 0.7254 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.1777, allocations: 19.42 kB / 0.7254 GB, free: 8.473 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1777, allocations: 0 / 0.7254 GB, free: 8.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.205, allocations: 2.012 MB / 0.7274 GB, free: 6.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.1, allocations: 10.56 kB / 0.7274 GB, free: 6.59 MB / 0.545 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.803399083997647] Failed to read output from testmodel.py, exit status != 0: 11.20113660700008 11.216586963 11.044151104 Calling exit ...