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.008716/0.008716, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001898/0.001898, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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 1.046/1.046, allocations: 143 MB / 433.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.89 kB / 0.5955 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4822, allocations: 82.02 MB / 0.6756 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003344/0.4856, allocations: 1.786 MB / 0.6774 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.4874, allocations: 1.021 MB / 0.6784 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.4875, allocations: 1.312 kB / 0.6784 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.4883, allocations: 166.6 kB / 0.6785 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.4886, allocations: 113.1 kB / 0.6786 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.4891, allocations: 169.1 kB / 0.6788 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.4894, allocations: 168.6 kB / 0.679 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.4895, allocations: 20.12 kB / 0.679 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.4897, allocations: 79.55 kB / 0.6791 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4898, allocations: 69.12 kB / 0.6791 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.4898, allocations: 7.625 kB / 0.6791 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.49, allocations: 64.69 kB / 0.6792 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.4901, allocations: 38.75 kB / 0.6792 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.4902, allocations: 64.56 kB / 0.6793 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.4906, allocations: 199.9 kB / 0.6795 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4906, allocations: 0 / 0.6795 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4906, allocations: 0 / 0.6795 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.4906, allocations: 0 / 0.6795 GB, free: 14.61 MB / 0.5137 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.0007196/0.4913, allocations: 497.5 kB / 0.68 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4914, allocations: 9.969 kB / 0.68 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.4914, allocations: 15.25 kB / 0.68 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.4917, allocations: 253 kB / 0.6802 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4917, allocations: 2.656 kB / 0.6802 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.4918, allocations: 7.344 kB / 0.6802 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.492, allocations: 87 kB / 0.6803 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.492, allocations: 4.922 kB / 0.6803 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.492, allocations: 0.7188 kB / 0.6803 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.492, allocations: 3.281 kB / 0.6803 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.4921, allocations: 46.58 kB / 0.6804 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.4926, allocations: 355.2 kB / 0.6807 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.4929, allocations: 78.11 kB / 0.6808 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.4929, allocations: 34.09 kB / 0.6808 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.493, allocations: 4 kB / 0.6808 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.4932, allocations: 82 kB / 0.6809 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4932, allocations: 0 / 0.6809 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003734/0.4936, allocations: 144.6 kB / 0.681 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.4936, allocations: 82.58 kB / 0.6811 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.4939, allocations: 256.7 kB / 0.6814 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.494, allocations: 26.86 kB / 0.6814 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.4941, allocations: 124 kB / 0.6815 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.4941, allocations: 28.16 kB / 0.6815 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.4942, allocations: 22.41 kB / 0.6815 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4943, allocations: 335.7 kB / 0.6819 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.4944, allocations: 27.92 kB / 0.6819 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.4945, allocations: 60.86 kB / 0.6819 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4946, allocations: 72.48 kB / 0.682 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4946, allocations: 0 / 0.682 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002191/0.4949, allocations: 114.7 kB / 0.6821 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4949, allocations: 5.531 kB / 0.6821 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4949, allocations: 1.156 kB / 0.6821 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4949, allocations: 1.125 kB / 0.6821 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.495, allocations: 16.2 kB / 0.6821 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.495, allocations: 1.125 kB / 0.6822 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.4951, allocations: 16.56 kB / 0.6822 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.4951, allocations: 2.312 kB / 0.6822 GB, free: 12.17 MB / 0.5137 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.0001244/0.4952, allocations: 144.4 kB / 0.6823 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.4953, allocations: 18.75 kB / 0.6823 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.4953, allocations: 20.52 kB / 0.6823 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4953, allocations: 6.188 kB / 0.6823 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4953, allocations: 1.094 kB / 0.6824 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4953, allocations: 3.938 kB / 0.6824 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.4956, allocations: 230.5 kB / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4956, allocations: 5.203 kB / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.4956, allocations: 3.5 kB / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4956, allocations: 0 / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4956, allocations: 1 kB / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4956, allocations: 5.109 kB / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4956, allocations: 0 / 0.6826 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.4959, allocations: 151 kB / 0.6827 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.4959, allocations: 97.42 kB / 0.6828 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.496, allocations: 1.125 kB / 0.6828 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.496, allocations: 2.531 kB / 0.6828 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.4961, allocations: 10.73 kB / 0.6828 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4961, allocations: 6.688 kB / 0.6828 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001851/0.4963, allocations: 198.4 kB / 0.683 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4963, allocations: 0 / 0.683 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002529/0.4965, allocations: 30 kB / 0.6831 GB, free: 11.38 MB / 0.5137 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.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.001028/0.4976, allocations: 441.3 kB / 0.6835 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.4978, allocations: 67.97 kB / 0.6835 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4978, allocations: 0 / 0.6835 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.4979, allocations: 41.92 kB / 0.6836 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4982, allocations: 32.88 kB / 0.6836 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.4989, allocations: 299.5 kB / 0.6839 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4992, allocations: 0.723 MB / 0.6846 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.687e-05/0.4993, allocations: 23.56 kB / 0.6846 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.4993, allocations: 20.08 kB / 0.6847 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4994, allocations: 0 / 0.6847 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.00696/0.5063, allocations: 2.358 MB / 0.687 GB, free: 8.945 MB / 0.5137 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)