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.001253/0.001253, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001426/0.001426, allocations: 216.3 kB / 23.01 MB, free: 4.609 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 179] 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.8642/0.8642, allocations: 145 MB / 458.2 MB, free: 15.51 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") [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.002116/0.002116, allocations: 79.66 kB / 0.6344 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1535, allocations: 87.89 MB / 0.7202 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002617/0.1561, allocations: 1.502 MB / 0.7217 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.1564, allocations: 116.6 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.1565, allocations: 0 / 0.7218 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/0.1565, allocations: 7.922 kB / 0.7218 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.1566, allocations: 11.86 kB / 0.7218 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1568, allocations: 27.91 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.1569, allocations: 43.8 kB / 0.7219 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.157, allocations: 11.98 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.157, allocations: 12 kB / 0.7219 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.1571, allocations: 27.84 kB / 0.7219 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1571, allocations: 8 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.1571, allocations: 19.98 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1572, allocations: 15.97 kB / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.1572, allocations: 19.88 kB / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1574, allocations: 55.73 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1574, allocations: 4 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1574, allocations: 0 / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1574, allocations: 0 / 0.7221 GB, free: 13.02 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.0005056/0.1579, allocations: 298.1 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1579, allocations: 12.03 kB / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1579, allocations: 4.891 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1581, allocations: 130.4 kB / 0.7225 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1581, allocations: 384 / 0.7225 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.1581, allocations: 384 / 0.7225 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.1583, allocations: 78.16 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1583, allocations: 4.125 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1583, allocations: 3.938 kB / 0.7226 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1583, allocations: 4 kB / 0.7226 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.1586, allocations: 75.91 kB / 0.7226 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.159, allocations: 252 kB / 0.7229 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1592, allocations: 74.41 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1593, allocations: 44.91 kB / 0.723 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.1595, allocations: 31.97 kB / 0.723 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1596, allocations: 38.56 kB / 0.7231 GB, free: 11.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1596, allocations: 0 / 0.7231 GB, free: 11.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005083/0.1601, allocations: 137.6 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1601, allocations: 55.34 kB / 0.7233 GB, free: 11.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1602, allocations: 133 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1603, allocations: 29.7 kB / 0.7234 GB, free: 11.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.1603, allocations: 92.09 kB / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1603, allocations: 7.953 kB / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1604, allocations: 17.7 kB / 0.7235 GB, free: 11.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1605, allocations: 314.8 kB / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1606, allocations: 39.95 kB / 0.7239 GB, free: 11.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1608, allocations: 36.16 kB / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.161, allocations: 80.86 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.161, allocations: 3.938 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003052/0.1613, allocations: 121.5 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1613, allocations: 4 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1613, allocations: 3.938 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1614, allocations: 0 / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1615, allocations: 19.97 kB / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1615, allocations: 0 / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.1616, allocations: 11.98 kB / 0.7241 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1616, allocations: 0 / 0.7241 GB, free: 10.72 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.312e-05/0.1616, allocations: 123.1 kB / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1617, allocations: 7.953 kB / 0.7243 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.162, allocations: 117.6 kB / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.162, allocations: 0 / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.162, allocations: 0 / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.162, allocations: 0 / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.1622, allocations: 160.6 kB / 0.7245 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1622, allocations: 4 kB / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-05/0.1623, allocations: 23.92 kB / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1623, allocations: 0 / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1623, allocations: 0 / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1623, allocations: 0 / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1623, allocations: 0 / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1627, allocations: 219.4 kB / 0.7248 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.1627, allocations: 3.938 kB / 0.7248 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1627, allocations: 0 / 0.7248 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1628, allocations: 15.97 kB / 0.7248 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1628, allocations: 0 / 0.7248 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1628, allocations: 4 kB / 0.7248 GB, free: 9.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.1629, allocations: 103.3 kB / 0.7249 GB, free: 9.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1629, allocations: 0 / 0.7249 GB, free: 9.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002184/0.1631, allocations: 11.98 kB / 0.7249 GB, free: 9.863 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.0001289/0.1632, allocations: 99.19 kB / 0.725 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.1635, allocations: 79.92 kB / 0.7251 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1635, allocations: 4 kB / 0.7251 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1637, allocations: 39.95 kB / 0.7251 GB, free: 9.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1639, allocations: 9.812 kB / 0.7251 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.1642, allocations: 183.2 kB / 0.7253 GB, free: 9.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1645, allocations: 0.6884 MB / 0.726 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.1646, allocations: 11.44 kB / 0.726 GB, free: 8.695 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1646, allocations: 7.938 kB / 0.726 GB, free: 8.688 MB / 0.545 GB Notification: Performance of Templates: time 0.00239/0.167, allocations: 0.9072 MB / 0.7269 GB, free: 7.785 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.209152553929016] Failed to read output from testmodel.py, exit status != 0: 0.1756406689528376 0.189147113 0.028898263 Calling exit ...