Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.022/4.022, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003073/0.003074, allocations: 175.1 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.128/4.128, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 89.31 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007459/0.0007464, allocations: 15.34 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3602, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.753, allocations: 135.5 MB / 1.032 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004563/0.7536, allocations: 79.95 kB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03975/0.7934, allocations: 5.463 MB / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.196e-06/0.7934, allocations: 0 / 1.037 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.7935, allocations: 4 kB / 1.037 GB, free: 4.301 MB / 0.6823 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.001167/0.7947, allocations: 496.4 kB / 1.038 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.7947, allocations: 12.03 kB / 1.038 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.7949, allocations: 16.75 kB / 1.038 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.7956, allocations: 252.9 kB / 1.038 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.996e-05/0.7956, allocations: 12.31 kB / 1.038 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.7957, allocations: 4.375 kB / 1.038 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.7961, allocations: 87.94 kB / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.7961, allocations: 192 / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.7961, allocations: 3.938 kB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.7962, allocations: 8 kB / 1.038 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.7964, allocations: 43.91 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.7975, allocations: 352.8 kB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.7979, allocations: 78.61 kB / 1.039 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.7981, allocations: 40.84 kB / 1.039 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.7982, allocations: 0 / 1.039 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003814/0.7986, allocations: 87.27 kB / 1.039 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 3.858e-06/0.7986, allocations: 0 / 1.039 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0008477/0.7995, allocations: 149.4 kB / 1.039 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.7996, allocations: 81.09 kB / 1.039 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.8004, allocations: 259 kB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.8004, allocations: 33.98 kB / 1.039 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.8006, allocations: 116.1 kB / 1.039 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.8007, allocations: 19.72 kB / 1.039 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.8008, allocations: 7.922 kB / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.801, allocations: 330.8 kB / 1.04 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.8012, allocations: 27.98 kB / 1.04 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.8015, allocations: 67.34 kB / 1.04 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.8017, allocations: 36.17 kB / 1.04 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.8017, allocations: 0 / 1.04 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005742/0.8023, allocations: 117.5 kB / 1.04 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.8024, allocations: 8 kB / 1.04 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.8024, allocations: 0 / 1.04 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8025, allocations: 0 / 1.04 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.8027, allocations: 8.062 kB / 1.04 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.8027, allocations: 11.98 kB / 1.04 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.8029, allocations: 11.94 kB / 1.04 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.803, allocations: 4 kB / 1.04 GB, free: 1.32 MB / 0.6823 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 ($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.0003154/0.8033, allocations: 145.7 kB / 1.04 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.8034, allocations: 19.72 kB / 1.04 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006441/0.8041, allocations: 127.1 kB / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/0.8041, allocations: 8 kB / 1.04 GB, free: 1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.8042, allocations: 4 kB / 1.04 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8042, allocations: 0 / 1.04 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.8047, allocations: 237.5 kB / 1.04 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8047, allocations: 0 / 1.04 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.601e-05/0.8048, allocations: 7.938 kB / 1.04 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.8049, allocations: 7.984 kB / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.8049, allocations: 0 / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8049, allocations: 0 / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8049, allocations: 0 / 1.04 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.8056, allocations: 160.8 kB / 1.041 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.8058, allocations: 100.9 kB / 1.041 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.8059, allocations: 4.078 kB / 1.041 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.806, allocations: 7.938 kB / 1.041 GB, free: 404 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.8061, allocations: 11.98 kB / 1.041 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.8062, allocations: 0 / 1.041 GB, free: 392 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005303/0.8067, allocations: 200.2 kB / 1.041 GB, free: 192 kB / 0.6823 GB Notification: Performance of sort global known variables: time 1.092e-06/0.8068, allocations: 0 / 1.041 GB, free: 192 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006589/0.8074, allocations: 51.92 kB / 1.041 GB, free: 140 kB / 0.6823 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.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.00218/0.8096, allocations: 424.9 kB / 1.041 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.8103, allocations: 75.91 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8103, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.8105, allocations: 43.92 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.8113, allocations: 48.94 kB / 1.042 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.8125, allocations: 334.4 kB / 1.042 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.813, allocations: 0.7281 MB / 1.043 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000238/0.8133, allocations: 29.31 kB / 1.043 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.8134, allocations: 23.42 kB / 1.043 GB, free: 14.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.864e-06/0.8134, allocations: 0 / 1.043 GB, free: 14.55 MB / 0.698 GB Notification: Performance of Templates: time 0.01358/0.827, allocations: 2.269 MB / 1.045 GB, free: 12.29 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)