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.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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001227/0.001227, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.8623/0.8623, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 67.91 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3657, allocations: 82.04 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002548/0.3682, allocations: 1.777 MB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3694, allocations: 1.019 MB / 0.5984 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.818e-05/0.3695, allocations: 8.656 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005065/0.37, allocations: 163.1 kB / 0.5986 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.3703, allocations: 112.6 kB / 0.5987 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.3706, allocations: 166.2 kB / 0.5989 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3708, allocations: 164.8 kB / 0.599 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3709, allocations: 29.45 kB / 0.599 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.371, allocations: 71.69 kB / 0.5991 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.3711, allocations: 68.81 kB / 0.5992 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.3711, allocations: 8 kB / 0.5992 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3712, allocations: 60.94 kB / 0.5992 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.3713, allocations: 43.84 kB / 0.5993 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.3713, allocations: 67.59 kB / 0.5993 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3716, allocations: 200.5 kB / 0.5995 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3716, allocations: 0 / 0.5995 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3716, allocations: 0 / 0.5995 GB, free: 12.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3716, allocations: 0 / 0.5995 GB, free: 12.22 MB / 446.1 MB 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.0005726/0.3722, allocations: 0.4917 MB / 0.6 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3722, allocations: 8.031 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.3723, allocations: 17.28 kB / 0.6 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3725, allocations: 241.9 kB / 0.6003 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3725, allocations: 4.375 kB / 0.6003 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3726, allocations: 12.75 kB / 0.6003 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3727, allocations: 93.34 kB / 0.6004 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3728, allocations: 3.984 kB / 0.6004 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3728, allocations: 1.406 kB / 0.6004 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3728, allocations: 4 kB / 0.6004 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.3729, allocations: 47.84 kB / 0.6004 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.3733, allocations: 350.1 kB / 0.6008 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3735, allocations: 72.45 kB / 0.6008 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.3735, allocations: 40.78 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3736, allocations: 2.625 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.3737, allocations: 79.38 kB / 0.601 GB, free: 10.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3737, allocations: 0 / 0.601 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002874/0.374, allocations: 145.4 kB / 0.6011 GB, free: 10.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.3741, allocations: 78.3 kB / 0.6012 GB, free: 10.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3743, allocations: 262.9 kB / 0.6014 GB, free: 10.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3743, allocations: 31.2 kB / 0.6014 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.3743, allocations: 120.1 kB / 0.6016 GB, free: 9.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3744, allocations: 19.72 kB / 0.6016 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.3744, allocations: 34.27 kB / 0.6016 GB, free: 9.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.3745, allocations: 328.4 kB / 0.6019 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.3745, allocations: 27.98 kB / 0.602 GB, free: 9.527 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.3746, allocations: 56.8 kB / 0.602 GB, free: 9.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.3747, allocations: 78.38 kB / 0.6021 GB, free: 9.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3747, allocations: 384 / 0.6021 GB, free: 9.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001577/0.3749, allocations: 119 kB / 0.6022 GB, free: 9.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3749, allocations: 7.938 kB / 0.6022 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3749, allocations: 4 kB / 0.6022 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3749, allocations: 1.344 kB / 0.6022 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.375, allocations: 8 kB / 0.6022 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.375, allocations: 3.938 kB / 0.6022 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.3751, allocations: 12.62 kB / 0.6022 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.3751, allocations: 11.98 kB / 0.6022 GB, free: 9.211 MB / 446.1 MB 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 8.68e-05/0.3752, allocations: 135.3 kB / 0.6024 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.3752, allocations: 15.81 kB / 0.6024 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.3752, allocations: 22.41 kB / 0.6024 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3753, allocations: 7.984 kB / 0.6024 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3753, allocations: 0 / 0.6024 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3753, allocations: 5 kB / 0.6024 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3754, allocations: 221.5 kB / 0.6026 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3754, allocations: 0 / 0.6026 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.3754, allocations: 5.5 kB / 0.6026 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-06/0.3755, allocations: 4 kB / 0.6026 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3755, allocations: 8 kB / 0.6026 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3755, allocations: 0 / 0.6026 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3755, allocations: 0.7188 kB / 0.6026 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.3757, allocations: 146.3 kB / 0.6028 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.3757, allocations: 92.86 kB / 0.6029 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.3757, allocations: 4.812 kB / 0.6029 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.3758, allocations: 10.48 kB / 0.6029 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3758, allocations: 4 kB / 0.6029 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3758, allocations: 7.938 kB / 0.6029 GB, free: 8.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.376, allocations: 192.6 kB / 0.6031 GB, free: 8.258 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.376, allocations: 0 / 0.6031 GB, free: 8.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3762, allocations: 32 kB / 0.6031 GB, free: 8.227 MB / 446.1 MB 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.0008908/0.3771, allocations: 441.6 kB / 0.6035 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.3773, allocations: 67.97 kB / 0.6036 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3773, allocations: 1.375 kB / 0.6036 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.3774, allocations: 39.92 kB / 0.6036 GB, free: 7.891 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3777, allocations: 31.97 kB / 0.6037 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.3781, allocations: 300.5 kB / 0.604 GB, free: 7.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3782, allocations: 0.7249 MB / 0.6047 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.752e-05/0.3783, allocations: 28.03 kB / 0.6047 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.3783, allocations: 15.44 kB / 0.6047 GB, free: 6.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3783, allocations: 0 / 0.6047 GB, free: 6.75 MB / 446.1 MB Notification: Performance of Templates: time 0.004668/0.383, allocations: 2.3 MB / 0.607 GB, free: 4.527 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)