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.001364/0.001364, allocations: 110.6 kB / 15.99 MB, free: 6.32 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.001509/0.001509, allocations: 191.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.633/1.633, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001669/0.001669, allocations: 69.75 kB / 0.6716 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.242, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003466/0.2455, allocations: 1.836 MB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2471, allocations: 0.9373 MB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.2472, allocations: 4 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.2479, allocations: 151.7 kB / 0.7864 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.2482, allocations: 103.7 kB / 0.7865 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.2486, allocations: 143.6 kB / 0.7866 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2488, allocations: 171.6 kB / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2489, allocations: 21.11 kB / 0.7868 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.249, allocations: 71.66 kB / 0.7869 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2492, allocations: 71.73 kB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.2492, allocations: 8 kB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2493, allocations: 59.91 kB / 0.787 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.2494, allocations: 43.84 kB / 0.787 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.2495, allocations: 63.61 kB / 0.7871 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2498, allocations: 148 kB / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2498, allocations: 4 kB / 0.7872 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2498, allocations: 0 / 0.7872 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2498, allocations: 4 kB / 0.7872 GB, free: 10.07 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.0007652/0.2506, allocations: 0.4884 MB / 0.7877 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2506, allocations: 12.03 kB / 0.7877 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.2507, allocations: 16.75 kB / 0.7877 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.251, allocations: 244.8 kB / 0.788 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.251, allocations: 4.375 kB / 0.788 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.2511, allocations: 20.11 kB / 0.788 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.2513, allocations: 79.39 kB / 0.7881 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2513, allocations: 3.938 kB / 0.7881 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2513, allocations: 0 / 0.7881 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.2513, allocations: 7.984 kB / 0.7881 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.2515, allocations: 35.98 kB / 0.7881 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.252, allocations: 348.7 kB / 0.7885 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.2522, allocations: 74.61 kB / 0.7885 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.78e-05/0.2523, allocations: 36.83 kB / 0.7886 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2523, allocations: 4 kB / 0.7886 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.2525, allocations: 83.38 kB / 0.7886 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2525, allocations: 0 / 0.7886 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003551/0.2529, allocations: 149.4 kB / 0.7888 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.2529, allocations: 77.11 kB / 0.7889 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.2532, allocations: 271.3 kB / 0.7891 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2533, allocations: 29.81 kB / 0.7891 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.2534, allocations: 116.1 kB / 0.7893 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2534, allocations: 23.66 kB / 0.7893 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.2534, allocations: 33.7 kB / 0.7893 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2536, allocations: 330.8 kB / 0.7896 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.2537, allocations: 27.92 kB / 0.7897 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.2538, allocations: 59.7 kB / 0.7897 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2539, allocations: 73.72 kB / 0.7898 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2539, allocations: 4.031 kB / 0.7898 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002101/0.2541, allocations: 117.4 kB / 0.7899 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2541, allocations: 4 kB / 0.7899 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2542, allocations: 0 / 0.7899 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2542, allocations: 4 kB / 0.7899 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.2543, allocations: 11.94 kB / 0.7899 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2543, allocations: 4 kB / 0.7899 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.2543, allocations: 11.92 kB / 0.7899 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2544, allocations: 8 kB / 0.7899 GB, free: 7.039 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 ($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.0001344/0.2545, allocations: 145.8 kB / 0.7901 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.2545, allocations: 15.81 kB / 0.7901 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.2546, allocations: 25.39 kB / 0.7901 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.2546, allocations: 0 / 0.7901 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2546, allocations: 0 / 0.7901 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.2546, allocations: 7.938 kB / 0.7901 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.2548, allocations: 217.5 kB / 0.7903 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2548, allocations: 0 / 0.7903 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.2549, allocations: 4 kB / 0.7903 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2549, allocations: 7.938 kB / 0.7903 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2549, allocations: 0 / 0.7903 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2549, allocations: 0 / 0.7903 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2549, allocations: 7.984 kB / 0.7904 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.2552, allocations: 148.7 kB / 0.7905 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.2552, allocations: 88.92 kB / 0.7906 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.2553, allocations: 3.984 kB / 0.7906 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.2553, allocations: 12 kB / 0.7906 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.2554, allocations: 7.938 kB / 0.7906 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2554, allocations: 7.922 kB / 0.7906 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001788/0.2556, allocations: 192.6 kB / 0.7908 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2556, allocations: 0 / 0.7908 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.2558, allocations: 31.98 kB / 0.7908 GB, free: 6.035 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 (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.001005/0.2568, allocations: 425.5 kB / 0.7912 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.2571, allocations: 79.91 kB / 0.7913 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2571, allocations: 0 / 0.7913 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.2572, allocations: 39.97 kB / 0.7913 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2576, allocations: 41.59 kB / 0.7914 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.2581, allocations: 364.8 kB / 0.7917 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.2585, allocations: 0.7278 MB / 0.7924 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.2586, allocations: 23.38 kB / 0.7925 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2586, allocations: 0 / 0.7925 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of Templates: time 0.004533/0.2631, allocations: 2.549 MB / 0.795 GB, free: 1.918 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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)