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.001285/0.001285, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00143/0.00143, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.777 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.8772/0.8772, allocations: 145 MB / 457.4 MB, free: 15.29 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.00208/0.00208, allocations: 65.91 kB / 0.6336 GB, free: 6.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1711, allocations: 87.89 MB / 0.7194 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.0031/0.1742, allocations: 1.781 MB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1761, allocations: 1.123 MB / 0.7222 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.678e-05/0.1762, allocations: 0 / 0.7222 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.1768, allocations: 175 kB / 0.7224 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.1772, allocations: 163.5 kB / 0.7226 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1776, allocations: 127.6 kB / 0.7227 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1778, allocations: 183.5 kB / 0.7228 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1779, allocations: 13.3 kB / 0.7229 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.178, allocations: 79.7 kB / 0.7229 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1781, allocations: 75.67 kB / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1782, allocations: 8 kB / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1783, allocations: 67.94 kB / 0.7231 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.1784, allocations: 43.84 kB / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.1785, allocations: 51.67 kB / 0.7232 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1788, allocations: 211.1 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1788, allocations: 0 / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1788, allocations: 0 / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1788, allocations: 0 / 0.7234 GB, free: 10.2 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.0007289/0.1795, allocations: 430.9 kB / 0.7238 GB, free: 9.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1795, allocations: 8.031 kB / 0.7238 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.1796, allocations: 16.84 kB / 0.7238 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1799, allocations: 202.1 kB / 0.724 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.18, allocations: 4.375 kB / 0.724 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.18, allocations: 12.12 kB / 0.724 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1802, allocations: 73.64 kB / 0.7241 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1802, allocations: 0 / 0.7241 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1802, allocations: 4 kB / 0.7241 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1802, allocations: 0 / 0.7241 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1803, allocations: 47.91 kB / 0.7241 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.1808, allocations: 284.3 kB / 0.7244 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.181, allocations: 82.59 kB / 0.7245 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.1811, allocations: 32.84 kB / 0.7245 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1811, allocations: 0 / 0.7245 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.1813, allocations: 79.39 kB / 0.7246 GB, free: 8.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1813, allocations: 112 / 0.7246 GB, free: 8.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003601/0.1817, allocations: 161.4 kB / 0.7247 GB, free: 8.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.1817, allocations: 51.41 kB / 0.7248 GB, free: 8.598 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.182, allocations: 279 kB / 0.7251 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1821, allocations: 29.7 kB / 0.7251 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1822, allocations: 124.1 kB / 0.7252 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1822, allocations: 19.86 kB / 0.7252 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.1822, allocations: 25.7 kB / 0.7253 GB, free: 8.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1824, allocations: 330.8 kB / 0.7256 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.1825, allocations: 27.98 kB / 0.7256 GB, free: 7.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1826, allocations: 88.19 kB / 0.7257 GB, free: 7.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1827, allocations: 77.73 kB / 0.7258 GB, free: 7.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1827, allocations: 0 / 0.7258 GB, free: 7.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002186/0.1829, allocations: 117.5 kB / 0.7259 GB, free: 7.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.183, allocations: 7.984 kB / 0.7259 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.183, allocations: 0 / 0.7259 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.183, allocations: 0 / 0.7259 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.1831, allocations: 15.94 kB / 0.7259 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1831, allocations: 0 / 0.7259 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.864e-05/0.1831, allocations: 11.89 kB / 0.7259 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1831, allocations: 8.016 kB / 0.7259 GB, free: 7.398 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.0001493/0.1833, allocations: 157.2 kB / 0.7261 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.1833, allocations: 15.91 kB / 0.7261 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1836, allocations: 135 kB / 0.7262 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1836, allocations: 0 / 0.7262 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1836, allocations: 3.938 kB / 0.7262 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.1836, allocations: 11.92 kB / 0.7262 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1838, allocations: 161.2 kB / 0.7264 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1838, allocations: 0 / 0.7264 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.1838, allocations: 11.98 kB / 0.7264 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1838, allocations: 0 / 0.7264 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1838, allocations: 4 kB / 0.7264 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1838, allocations: 0 / 0.7264 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1838, allocations: 0 / 0.7264 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1841, allocations: 152.9 kB / 0.7265 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.1842, allocations: 19.84 kB / 0.7265 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1842, allocations: 4 kB / 0.7266 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.1842, allocations: 7.984 kB / 0.7266 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1843, allocations: 4 kB / 0.7266 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.1843, allocations: 7.922 kB / 0.7266 GB, free: 6.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002287/0.1845, allocations: 216.5 kB / 0.7268 GB, free: 6.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1845, allocations: 0 / 0.7268 GB, free: 6.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002379/0.1847, allocations: 39.86 kB / 0.7268 GB, free: 6.398 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 (8): * Single equations (assignments): 5 * 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.001588/0.1863, allocations: 442 kB / 0.7272 GB, free: 6.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1865, allocations: 75.89 kB / 0.7273 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1865, allocations: 0 / 0.7273 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.1866, allocations: 39.92 kB / 0.7273 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1869, allocations: 41.52 kB / 0.7274 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.1874, allocations: 314.6 kB / 0.7277 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.1876, allocations: 114.6 kB / 0.7278 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.568e-05/0.1876, allocations: 21.72 kB / 0.7278 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.1877, allocations: 19.44 kB / 0.7278 GB, free: 5.488 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.1877, allocations: 4 kB / 0.7278 GB, free: 5.484 MB / 0.545 GB Notification: Performance of Templates: time 0.005821/0.1935, allocations: 2.504 MB / 0.7303 GB, free: 3.02 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: 5.492960754781961] Failed to read output from testmodel.py, exit status != 0: 0.20164981484413147 0.21499257900000002 0.033315659000000004 Calling exit ...