Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001191/0.001191, allocations: 176.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008721/0.000872, allocations: 78.09 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 12.34 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2672, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002192/0.2695, allocations: 1.518 MB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2708, allocations: 0.9293 MB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.271, allocations: 3.938 kB / 0.8991 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.2715, allocations: 163.7 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.2718, allocations: 99.73 kB / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2722, allocations: 130.1 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.2724, allocations: 167.6 kB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2725, allocations: 29.06 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.455e-05/0.2726, allocations: 59.75 kB / 0.8998 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.2727, allocations: 63.64 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2727, allocations: 7.984 kB / 0.8998 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.2729, allocations: 51.97 kB / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.273, allocations: 35.91 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.273, allocations: 51.61 kB / 0.9 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.2732, allocations: 143.7 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2732, allocations: 3.938 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.756e-06/0.2732, allocations: 7.938 kB / 0.9001 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2733, allocations: 0 / 0.9001 GB, free: 64.7 MB / 0.6042 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.000681/0.2739, allocations: 472.4 kB / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.274, allocations: 12.03 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.2741, allocations: 16.75 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2744, allocations: 244.9 kB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2744, allocations: 4.375 kB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.2744, allocations: 8.125 kB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.2746, allocations: 99.3 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2746, allocations: 0 / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2747, allocations: 0 / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.2747, allocations: 7.938 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.2748, allocations: 31.98 kB / 0.901 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.2753, allocations: 360.6 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.2754, allocations: 70.67 kB / 0.9014 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.2755, allocations: 36.84 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2755, allocations: 0 / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.2757, allocations: 87.31 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.2757, allocations: 0 / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003109/0.276, allocations: 145.4 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2761, allocations: 81.11 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.2763, allocations: 263.6 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2764, allocations: 25.7 kB / 0.902 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.2764, allocations: 120 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.2765, allocations: 23.7 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.2765, allocations: 17.72 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.2766, allocations: 334.8 kB / 0.9025 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.2766, allocations: 24.27 kB / 0.9025 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.2767, allocations: 67.34 kB / 0.9025 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2768, allocations: 69.64 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2768, allocations: 4 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001763/0.277, allocations: 117.5 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.277, allocations: 4 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.277, allocations: 0 / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2771, allocations: 4 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.237e-05/0.2771, allocations: 11.98 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2772, allocations: 0 / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.2772, allocations: 15.97 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.2772, allocations: 11.94 kB / 0.9028 GB, free: 61.71 MB / 0.6042 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.0001088/0.2774, allocations: 142.5 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.2774, allocations: 15.81 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.2774, allocations: 25.39 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.2775, allocations: 4 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2775, allocations: 4 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2775, allocations: 3.938 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.2776, allocations: 217.5 kB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2776, allocations: 0 / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.2777, allocations: 4 kB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2777, allocations: 7.984 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2777, allocations: 4 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2777, allocations: 0 / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2777, allocations: 0 / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.2779, allocations: 148.8 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.2779, allocations: 92.91 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.278, allocations: 4 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.066e-05/0.278, allocations: 12 kB / 0.9034 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.2781, allocations: 3.984 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2781, allocations: 7.938 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001539/0.2783, allocations: 192.4 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2783, allocations: 0 / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002349/0.2785, allocations: 43.91 kB / 0.9037 GB, free: 60.7 MB / 0.6042 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.0009577/0.2795, allocations: 429.3 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.2797, allocations: 79.89 kB / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2797, allocations: 0 / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.2798, allocations: 43.91 kB / 0.9042 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.2801, allocations: 38.38 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.2806, allocations: 354.6 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.2808, allocations: 0.7204 MB / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.2808, allocations: 27.42 kB / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2808, allocations: 0 / 0.9053 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.004132/0.285, allocations: 2.509 MB / 0.9077 GB, free: 56.63 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)