Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.194/2.194, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001844/0.001844, allocations: 180.1 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.563/2.563, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 101.1 kB / 0.6813 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006488/0.0006491, allocations: 17.8 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2811, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002293/0.2835, allocations: 1.481 MB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2852, allocations: 0.8872 MB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.2853, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.2859, allocations: 143.7 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.2862, allocations: 103.7 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.2867, allocations: 118.9 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.287, allocations: 155.6 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2872, allocations: 21.09 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2874, allocations: 63.7 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.2876, allocations: 71.73 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.2876, allocations: 0 / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.2879, allocations: 35.98 kB / 0.902 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.288, allocations: 39.84 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.2881, allocations: 45.64 kB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.2885, allocations: 148 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2885, allocations: 3.938 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2885, allocations: 0 / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2885, allocations: 0 / 0.9022 GB, free: 62.13 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.001005/0.2895, allocations: 485.8 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.2896, allocations: 8.031 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.2897, allocations: 24.67 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.2902, allocations: 237 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.2903, allocations: 384 / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.2903, allocations: 12.11 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.2907, allocations: 95.25 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2908, allocations: 4 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2908, allocations: 0 / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.2909, allocations: 4 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.2911, allocations: 31.98 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2921, allocations: 352.7 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.2926, allocations: 86.61 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.2927, allocations: 32.84 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2928, allocations: 0 / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.2931, allocations: 75.39 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 4.528e-06/0.2931, allocations: 0 / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0007285/0.2939, allocations: 149.4 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.294, allocations: 81.09 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.2946, allocations: 262.9 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2946, allocations: 29.7 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2948, allocations: 116.1 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.2948, allocations: 27.64 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.2949, allocations: 0 / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.295, allocations: 330.8 kB / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.2951, allocations: 31.98 kB / 0.9046 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.2953, allocations: 55.42 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2955, allocations: 32.3 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2956, allocations: 0 / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004566/0.296, allocations: 117.4 kB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.2961, allocations: 4 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2961, allocations: 64 / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.2962, allocations: 4 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2964, allocations: 20.03 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2964, allocations: 3.938 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.2966, allocations: 15.78 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2967, allocations: 8 kB / 0.9049 GB, free: 59.2 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.000262/0.2969, allocations: 133.8 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.297, allocations: 15.81 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2972, allocations: 29.39 kB / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.2972, allocations: 0 / 0.905 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2972, allocations: 4 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2972, allocations: 3.938 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.2976, allocations: 217.6 kB / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2976, allocations: 0 / 0.9052 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.2977, allocations: 4 kB / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2977, allocations: 3.984 kB / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2978, allocations: 0 / 0.9053 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2978, allocations: 4 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.2978, allocations: 3.984 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.2983, allocations: 148.8 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.2984, allocations: 96.84 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.2984, allocations: 8 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2986, allocations: 3.984 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.2987, allocations: 4 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.2987, allocations: 7.938 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004167/0.2991, allocations: 212.1 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.61e-07/0.2992, allocations: 0 / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007516/0.2999, allocations: 24 kB / 0.9057 GB, free: 58.2 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 (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.001982/0.3019, allocations: 429.5 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007337/0.3093, allocations: 71.97 kB / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3094, allocations: 0 / 0.9062 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.3096, allocations: 39.98 kB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.3103, allocations: 31.98 kB / 0.9063 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009507/0.3113, allocations: 321.3 kB / 0.9066 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3116, allocations: 0.7243 MB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.3118, allocations: 25.72 kB / 0.9073 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.3119, allocations: 23.42 kB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.693e-06/0.3119, allocations: 3.938 kB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.01157/0.3235, allocations: 2.116 MB / 0.9094 GB, free: 54.56 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)