Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001281/0.001282, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001406/0.001406, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005154, allocations: 16.34 kB / 0.6737 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2454, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002265/0.2477, allocations: 1.467 MB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2493, allocations: 0.8717 MB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2494, allocations: 7.875 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.2501, allocations: 151.7 kB / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.2504, allocations: 95.69 kB / 0.7898 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.2508, allocations: 127.1 kB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2511, allocations: 143.6 kB / 0.7901 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2512, allocations: 29.11 kB / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2513, allocations: 55.75 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2514, allocations: 67.7 kB / 0.7902 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2514, allocations: 4 kB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.2516, allocations: 47.91 kB / 0.7903 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.2516, allocations: 35.91 kB / 0.7903 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.2517, allocations: 49.56 kB / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2519, allocations: 148 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2519, allocations: 4 kB / 0.7905 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2519, allocations: 0 / 0.7905 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2519, allocations: 4 kB / 0.7905 GB, free: 8.633 MB / 0.6075 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.0006282/0.2526, allocations: 472.3 kB / 0.7909 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2526, allocations: 8.031 kB / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.2526, allocations: 23.67 kB / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.253, allocations: 239.7 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.253, allocations: 4 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.253, allocations: 0 / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2532, allocations: 91.38 kB / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.2532, allocations: 0 / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2532, allocations: 4 kB / 0.7913 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.2533, allocations: 3.984 kB / 0.7913 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.2534, allocations: 39.91 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.2539, allocations: 352.7 kB / 0.7917 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.2541, allocations: 78.67 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.2542, allocations: 36.78 kB / 0.7918 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2542, allocations: 112 / 0.7918 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.2544, allocations: 87.31 kB / 0.7919 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2545, allocations: 4 kB / 0.7919 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003485/0.2548, allocations: 141.4 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.2549, allocations: 81.39 kB / 0.7921 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.2552, allocations: 263.5 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2552, allocations: 25.7 kB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.2553, allocations: 124 kB / 0.7925 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.2553, allocations: 31.62 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2553, allocations: 0 / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2555, allocations: 330.8 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.2555, allocations: 27.98 kB / 0.7928 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.2556, allocations: 59.41 kB / 0.7929 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.451e-05/0.2557, allocations: 31.94 kB / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2557, allocations: 0 / 0.7929 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001922/0.2559, allocations: 113.4 kB / 0.793 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2559, allocations: 8.062 kB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2559, allocations: 4 kB / 0.7931 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.256, allocations: 3.953 kB / 0.7931 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.256, allocations: 11.98 kB / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2561, allocations: 0 / 0.7931 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.2561, allocations: 8 kB / 0.7931 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2561, allocations: 4 kB / 0.7931 GB, free: 5.719 MB / 0.6075 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.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,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.0001292/0.2563, allocations: 142.4 kB / 0.7932 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.2563, allocations: 19.81 kB / 0.7932 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.2563, allocations: 21.39 kB / 0.7933 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.2564, allocations: 4 kB / 0.7933 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2564, allocations: 3.953 kB / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2564, allocations: 0 / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.2566, allocations: 225.4 kB / 0.7935 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2566, allocations: 4 kB / 0.7935 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.2566, allocations: 11.92 kB / 0.7935 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2566, allocations: 0 / 0.7935 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2566, allocations: 4 kB / 0.7935 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2566, allocations: 4 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2566, allocations: 0 / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.2569, allocations: 152.8 kB / 0.7936 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.2569, allocations: 92.92 kB / 0.7937 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.257, allocations: 4 kB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.257, allocations: 7.984 kB / 0.7937 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.2571, allocations: 4 kB / 0.7937 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.2571, allocations: 4 kB / 0.7938 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001759/0.2573, allocations: 200.5 kB / 0.7939 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2573, allocations: 0 / 0.7939 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.2575, allocations: 28 kB / 0.794 GB, free: 4.707 MB / 0.6075 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 (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.0009412/0.2585, allocations: 428.3 kB / 0.7944 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2587, allocations: 75.91 kB / 0.7944 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2587, allocations: 8 kB / 0.7945 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.2588, allocations: 31.98 kB / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2591, allocations: 42.02 kB / 0.7945 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.2596, allocations: 322.1 kB / 0.7948 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.26, allocations: 0.7204 MB / 0.7955 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.26, allocations: 25.41 kB / 0.7956 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.2601, allocations: 15.44 kB / 0.7956 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2601, allocations: 0 / 0.7956 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of Templates: time 0.005518/0.2656, allocations: 2.116 MB / 0.7976 GB, free: 1.066 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: