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 2.359/2.359, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.00136/0.00136, allocations: 177.4 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.564/2.564, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0008842/0.0008841, allocations: 100.1 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006342/0.0006345, allocations: 11.59 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2173, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002422/0.2198, allocations: 1.486 MB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.2216, allocations: 0.8716 MB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2218, allocations: 4 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.2224, allocations: 151.7 kB / 0.9019 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.2228, allocations: 99.69 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.2233, allocations: 119.2 kB / 0.9022 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.2235, allocations: 147.6 kB / 0.9023 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2237, allocations: 29.09 kB / 0.9023 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2238, allocations: 59.7 kB / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2239, allocations: 63.75 kB / 0.9024 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.224, allocations: 4 kB / 0.9024 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.2241, allocations: 43.97 kB / 0.9025 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.2242, allocations: 35.84 kB / 0.9025 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.2243, allocations: 45.64 kB / 0.9026 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.2245, allocations: 151.9 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2245, allocations: 0 / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2246, allocations: 0 / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2246, allocations: 0 / 0.9027 GB, free: 62.22 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.0007438/0.2253, allocations: 480.4 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2254, allocations: 16.02 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.2255, allocations: 16.69 kB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.2258, allocations: 233.1 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2258, allocations: 4.375 kB / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.2259, allocations: 8.125 kB / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.2261, allocations: 103.2 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2261, allocations: 0 / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2261, allocations: 0 / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.2262, allocations: 4 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.2263, allocations: 31.98 kB / 0.9036 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.2269, allocations: 352.7 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.2272, allocations: 86.55 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.2273, allocations: 32.84 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.2273, allocations: 4 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.2275, allocations: 79.38 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.434e-06/0.2276, allocations: 0 / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004755/0.228, allocations: 141.4 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2281, allocations: 81.11 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.2284, allocations: 262.9 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.2285, allocations: 25.7 kB / 0.9046 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.2286, allocations: 120.1 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.2286, allocations: 23.7 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.2286, allocations: 3.938 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.2287, allocations: 334.8 kB / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.2288, allocations: 27.98 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2289, allocations: 59.42 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.2291, allocations: 27.98 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.2291, allocations: 0 / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004198/0.2295, allocations: 113.8 kB / 0.9053 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.2296, allocations: 12.06 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.2296, allocations: 112 / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.2297, allocations: 3.938 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.2299, allocations: 19.86 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.2299, allocations: 8.141 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.2301, allocations: 15.84 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.2301, allocations: 3.938 kB / 0.9053 GB, free: 59.29 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 ($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.0002369/0.2304, allocations: 141.8 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.2305, allocations: 19.81 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.668e-05/0.2306, allocations: 17.39 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.2306, allocations: 3.984 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2306, allocations: 4 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.2307, allocations: 92.91 kB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.2308, allocations: 7.938 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2309, allocations: 4 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.231, allocations: 7.984 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004443/0.2314, allocations: 192.9 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003382/0.2318, allocations: 290.5 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001071/0.2319, allocations: 35.97 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002314/0.2322, allocations: 196.2 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of Backend: time 8.12e-07/0.2322, allocations: 0 / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.2339, allocations: 466.9 kB / 0.9067 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008894/0.2348, allocations: 0.7545 MB / 0.9075 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.007264/0.2421, allocations: 2.181 MB / 0.9096 GB, free: 54.98 MB / 0.6042 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)