Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.545/1.545, allocations: 288.4 MB / 304.3 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 189.8 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 0.6316 GB, free: 9.805 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007637/0.0007639, allocations: 98.28 kB / 0.745 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004411, allocations: 13.09 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.247, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002078/0.2491, allocations: 1.47 MB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2504, allocations: 0.8754 MB / 0.983 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.2505, allocations: 0 / 0.983 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006186/0.2512, allocations: 152.8 kB / 0.9832 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.2514, allocations: 95.69 kB / 0.9833 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.2518, allocations: 126.3 kB / 0.9834 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.2519, allocations: 147.5 kB / 0.9835 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2521, allocations: 29.09 kB / 0.9835 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.3e-05/0.2521, allocations: 63.64 kB / 0.9836 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.2522, allocations: 63.75 kB / 0.9837 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2523, allocations: 4 kB / 0.9837 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2524, allocations: 47.97 kB / 0.9837 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.2525, allocations: 39.83 kB / 0.9838 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.2525, allocations: 77.38 kB / 0.9838 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2527, allocations: 144 kB / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2527, allocations: 0 / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2528, allocations: 4 kB / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2528, allocations: 0 / 0.984 GB, free: 24 MB / 0.6198 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.0006423/0.2534, allocations: 472.4 kB / 0.9844 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2535, allocations: 12.03 kB / 0.9844 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.2535, allocations: 16.66 kB / 0.9844 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2538, allocations: 248.8 kB / 0.9847 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.2538, allocations: 8.359 kB / 0.9847 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.2539, allocations: 12.12 kB / 0.9847 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2541, allocations: 83.39 kB / 0.9848 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2541, allocations: 0 / 0.9848 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2541, allocations: 3.984 kB / 0.9848 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.2541, allocations: 4 kB / 0.9848 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.2542, allocations: 35.92 kB / 0.9848 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.2547, allocations: 356.7 kB / 0.9852 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2549, allocations: 74.61 kB / 0.9852 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.014e-05/0.2549, allocations: 32.84 kB / 0.9853 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.255, allocations: 4 kB / 0.9853 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2551, allocations: 79.38 kB / 0.9853 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.2551, allocations: 4 kB / 0.9853 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003062/0.2554, allocations: 141.7 kB / 0.9855 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2555, allocations: 85.05 kB / 0.9856 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2557, allocations: 259 kB / 0.9858 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2557, allocations: 29.81 kB / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.2558, allocations: 116.1 kB / 0.9859 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.2558, allocations: 27.64 kB / 0.986 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.2558, allocations: 0 / 0.986 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.2559, allocations: 342.8 kB / 0.9863 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.256, allocations: 23.98 kB / 0.9863 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.256, allocations: 63.36 kB / 0.9864 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.98e-05/0.2561, allocations: 65.7 kB / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2561, allocations: 0 / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000161/0.2563, allocations: 117.5 kB / 0.9866 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2563, allocations: 8 kB / 0.9866 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2564, allocations: 0 / 0.9866 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2564, allocations: 0 / 0.9866 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.2564, allocations: 15.92 kB / 0.9866 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2565, allocations: 4 kB / 0.9866 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.2565, allocations: 7.906 kB / 0.9866 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2565, allocations: 7.938 kB / 0.9866 GB, free: 21.04 MB / 0.6198 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 9.982e-05/0.2566, allocations: 153.8 kB / 0.9867 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.2567, allocations: 19.8 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.2567, allocations: 13.41 kB / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2567, allocations: 4 kB / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2567, allocations: 0 / 0.9868 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.2568, allocations: 96.91 kB / 0.9869 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.2568, allocations: 4.031 kB / 0.9869 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.2569, allocations: 11.94 kB / 0.9869 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2569, allocations: 7.984 kB / 0.9869 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001876/0.2571, allocations: 192.9 kB / 0.9871 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001893/0.2573, allocations: 294.4 kB / 0.9874 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.553e-05/0.2574, allocations: 39.97 kB / 0.9874 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001443/0.2575, allocations: 192.4 kB / 0.9876 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Backend: time 2.21e-07/0.2575, allocations: 8 kB / 0.9876 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.2588, allocations: 457.9 kB / 0.988 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005975/0.2594, allocations: 0.7586 MB / 0.9888 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.004909/0.2644, allocations: 2.208 MB / 0.9909 GB, free: 16.7 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)