Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 172.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5478/0.5478, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 348.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.0008271, allocations: 93.38 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 16 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 71.02 MB / 0.5594 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4724, allocations: 104.6 MB / 0.6616 GB, free: 4.883 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4727, allocations: 79.95 kB / 0.6617 GB, free: 4.805 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.4877, allocations: 5.565 MB / 0.6671 GB, free: 15.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4878, allocations: 0 / 0.6671 GB, free: 15.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.4878, allocations: 4 kB / 0.6671 GB, free: 15.24 MB / 490.7 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.0008526/0.4887, allocations: 0.4886 MB / 0.6676 GB, free: 14.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4887, allocations: 8.031 kB / 0.6676 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.4888, allocations: 20.75 kB / 0.6676 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.4893, allocations: 245 kB / 0.6679 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.4894, allocations: 12.38 kB / 0.6679 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.4894, allocations: 384 / 0.6679 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.4897, allocations: 99.86 kB / 0.668 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4897, allocations: 192 / 0.668 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4898, allocations: 3.938 kB / 0.668 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.4898, allocations: 11.92 kB / 0.668 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.49, allocations: 35.98 kB / 0.668 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.4907, allocations: 364.6 kB / 0.6684 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4909, allocations: 74.67 kB / 0.6684 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.491, allocations: 36.84 kB / 0.6685 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.491, allocations: 4 kB / 0.6685 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.4912, allocations: 87.3 kB / 0.6686 GB, free: 13.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.4912, allocations: 0 / 0.6686 GB, free: 13.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003845/0.4916, allocations: 153.4 kB / 0.6687 GB, free: 13.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.4917, allocations: 81.11 kB / 0.6688 GB, free: 13.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.492, allocations: 259.2 kB / 0.669 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.492, allocations: 33.7 kB / 0.6691 GB, free: 13.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.4921, allocations: 116.1 kB / 0.6692 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.4922, allocations: 23.66 kB / 0.6692 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.4922, allocations: 0 / 0.6692 GB, free: 12.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4923, allocations: 339.9 kB / 0.6695 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.4924, allocations: 20 kB / 0.6695 GB, free: 12.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.4925, allocations: 63.41 kB / 0.6696 GB, free: 12.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.4926, allocations: 85.66 kB / 0.6697 GB, free: 12.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4926, allocations: 0 / 0.6697 GB, free: 12.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001961/0.4928, allocations: 113.4 kB / 0.6698 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4929, allocations: 8 kB / 0.6698 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4929, allocations: 0 / 0.6698 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4929, allocations: 0 / 0.6698 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.493, allocations: 8 kB / 0.6698 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.493, allocations: 8.031 kB / 0.6698 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.4931, allocations: 15.94 kB / 0.6698 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4931, allocations: 3.938 kB / 0.6698 GB, free: 12.2 MB / 490.7 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.4932, allocations: 150.7 kB / 0.67 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.4932, allocations: 15.81 kB / 0.67 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.4935, allocations: 131.1 kB / 0.6701 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.4935, allocations: 7.984 kB / 0.6701 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4935, allocations: 4 kB / 0.6701 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4935, allocations: 0 / 0.6701 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.4937, allocations: 229.5 kB / 0.6704 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4937, allocations: 0 / 0.6704 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.4938, allocations: 4 kB / 0.6704 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4938, allocations: 0 / 0.6704 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4938, allocations: 8.078 kB / 0.6704 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4938, allocations: 7.875 kB / 0.6704 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4938, allocations: 0 / 0.6704 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.4941, allocations: 156.8 kB / 0.6705 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.4941, allocations: 100.9 kB / 0.6706 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.4942, allocations: 11.98 kB / 0.6706 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.201e-05/0.4942, allocations: 7.984 kB / 0.6706 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4943, allocations: 4 kB / 0.6706 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.4943, allocations: 3.984 kB / 0.6706 GB, free: 11.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.4945, allocations: 196.2 kB / 0.6708 GB, free: 11.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4945, allocations: 0 / 0.6708 GB, free: 11.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.4947, allocations: 47.92 kB / 0.6709 GB, free: 11.03 MB / 490.7 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.4958, allocations: 431.8 kB / 0.6713 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.496, allocations: 83.89 kB / 0.6714 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.496, allocations: 0 / 0.6714 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/0.4961, allocations: 43.92 kB / 0.6714 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4964, allocations: 41.64 kB / 0.6714 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.497, allocations: 338.2 kB / 0.6718 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4973, allocations: 0.7243 MB / 0.6725 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.21e-05/0.4974, allocations: 33.36 kB / 0.6725 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.4975, allocations: 19.42 kB / 0.6725 GB, free: 9.434 MB / 490.7 MB Notification: Performance of SimCode: time 2e-07/0.4975, allocations: 0 / 0.6725 GB, free: 9.434 MB / 490.7 MB Notification: Performance of Templates: time 0.005446/0.5029, allocations: 2.279 MB / 0.6748 GB, free: 7.172 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)