Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.001272/0.001272, 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.001471/0.001471, allocations: 219.1 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.8476/0.8476, allocations: 145 MB / 458.2 MB, free: 15.53 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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") [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.001972/0.001972, allocations: 69.8 kB / 0.6344 GB, free: 6.832 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1627, allocations: 87.89 MB / 0.7202 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003192/0.1659, allocations: 1.818 MB / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1679, allocations: 1.202 MB / 0.7232 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.168, allocations: 3.938 kB / 0.7232 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.1686, allocations: 167.5 kB / 0.7233 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.169, allocations: 159.5 kB / 0.7235 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1694, allocations: 139.5 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1696, allocations: 183.5 kB / 0.7238 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.765e-05/0.1697, allocations: 9.312 kB / 0.7238 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.1698, allocations: 79.69 kB / 0.7239 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.17, allocations: 75.72 kB / 0.724 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.17, allocations: 16 kB / 0.724 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1701, allocations: 67.89 kB / 0.724 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.1702, allocations: 47.83 kB / 0.7241 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.1703, allocations: 59.61 kB / 0.7241 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1706, allocations: 211.1 kB / 0.7243 GB, free: 10.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1706, allocations: 0 / 0.7243 GB, free: 10.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1706, allocations: 0 / 0.7243 GB, free: 10.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1706, allocations: 0 / 0.7243 GB, free: 10.69 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007183/0.1713, allocations: 430.8 kB / 0.7247 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1713, allocations: 16.03 kB / 0.7248 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.1714, allocations: 16.84 kB / 0.7248 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1717, allocations: 190.1 kB / 0.725 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1717, allocations: 4.359 kB / 0.725 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1717, allocations: 16.06 kB / 0.725 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1719, allocations: 83.39 kB / 0.7251 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1719, allocations: 3.984 kB / 0.7251 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1719, allocations: 0 / 0.7251 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1719, allocations: 8 kB / 0.7251 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.172, allocations: 35.98 kB / 0.7251 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.1726, allocations: 339.6 kB / 0.7254 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1728, allocations: 66.67 kB / 0.7255 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.1728, allocations: 36.84 kB / 0.7255 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1729, allocations: 0 / 0.7255 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.173, allocations: 87.31 kB / 0.7256 GB, free: 9.246 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.173, allocations: 0 / 0.7256 GB, free: 9.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003342/0.1734, allocations: 137.5 kB / 0.7257 GB, free: 9.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.1734, allocations: 81.11 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.1737, allocations: 279 kB / 0.7261 GB, free: 8.727 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1737, allocations: 33.7 kB / 0.7261 GB, free: 8.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.075e-05/0.1738, allocations: 116.1 kB / 0.7262 GB, free: 8.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1738, allocations: 27.78 kB / 0.7263 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.1739, allocations: 25.7 kB / 0.7263 GB, free: 8.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1741, allocations: 334.8 kB / 0.7266 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.1741, allocations: 27.98 kB / 0.7266 GB, free: 8.148 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/0.1742, allocations: 63.42 kB / 0.7267 GB, free: 8.074 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1743, allocations: 73.95 kB / 0.7268 GB, free: 7.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1743, allocations: 0 / 0.7268 GB, free: 7.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002104/0.1746, allocations: 117.5 kB / 0.7269 GB, free: 7.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1746, allocations: 6.812 kB / 0.7269 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1746, allocations: 0 / 0.7269 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1746, allocations: 4 kB / 0.7269 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1747, allocations: 11.98 kB / 0.7269 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1747, allocations: 4.062 kB / 0.7269 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.1747, allocations: 11.89 kB / 0.7269 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1747, allocations: 4 kB / 0.7269 GB, free: 7.836 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001334/0.1749, allocations: 141.8 kB / 0.727 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1749, allocations: 20 kB / 0.7271 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.1751, allocations: 126.9 kB / 0.7272 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.1751, allocations: 4 kB / 0.7272 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1752, allocations: 8 kB / 0.7272 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1752, allocations: 3.938 kB / 0.7272 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1754, allocations: 200.6 kB / 0.7274 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1754, allocations: 0 / 0.7274 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.1754, allocations: 7.984 kB / 0.7274 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1754, allocations: 0 / 0.7274 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1754, allocations: 4 kB / 0.7274 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1754, allocations: 0 / 0.7274 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1754, allocations: 0 / 0.7274 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1756, allocations: 156.8 kB / 0.7276 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1757, allocations: 19.84 kB / 0.7276 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1757, allocations: 8 kB / 0.7276 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.51e-05/0.1758, allocations: 0 / 0.7276 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1758, allocations: 7.984 kB / 0.7276 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1758, allocations: 3.938 kB / 0.7276 GB, free: 7.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002059/0.176, allocations: 208.6 kB / 0.7278 GB, free: 6.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.176, allocations: 0 / 0.7278 GB, free: 6.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002329/0.1762, allocations: 31.89 kB / 0.7278 GB, free: 6.82 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001532/0.1778, allocations: 434.9 kB / 0.7282 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.178, allocations: 71.89 kB / 0.7283 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.178, allocations: 4 kB / 0.7283 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.924e-05/0.1781, allocations: 27.98 kB / 0.7283 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1784, allocations: 45.22 kB / 0.7284 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.1789, allocations: 344.4 kB / 0.7287 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1793, allocations: 0.7241 MB / 0.7294 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.1794, allocations: 19.42 kB / 0.7294 GB, free: 5.273 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1794, allocations: 0 / 0.7294 GB, free: 5.273 MB / 0.545 GB Notification: Performance of Templates: time 0.00467/0.184, allocations: 2.627 MB / 0.732 GB, free: 2.656 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.81918407115154] Failed to read output from testmodel.py, exit status != 0: 0.19232916994951665 0.20667842500000003 0.033123087 Calling exit ...