Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009598, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009662/0.0009663, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6072/0.6072, allocations: 95.58 MB / 366 MB, free: 10.45 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005487/0.0005488, allocations: 16 kB / 446.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2965, allocations: 70.32 MB / 0.505 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001731/0.2982, allocations: 1.427 MB / 0.5064 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2994, allocations: 0.914 MB / 0.5073 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2995, allocations: 3.938 kB / 0.5073 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.2998, allocations: 47.81 kB / 0.5073 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.3001, allocations: 59.84 kB / 0.5074 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.3007, allocations: 178.6 kB / 0.5075 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3009, allocations: 83.83 kB / 0.5076 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.301, allocations: 21.11 kB / 0.5076 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.3011, allocations: 51.77 kB / 0.5077 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.3012, allocations: 47.81 kB / 0.5077 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3012, allocations: 7.938 kB / 0.5078 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3013, allocations: 51.86 kB / 0.5078 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.3014, allocations: 31.89 kB / 0.5078 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.3014, allocations: 45.64 kB / 0.5079 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.3016, allocations: 149.8 kB / 0.508 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.3016, allocations: 0 / 0.508 GB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3016, allocations: 0 / 0.508 GB, free: 13.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.3017, allocations: 0 / 0.508 GB, free: 13.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004997/0.3022, allocations: 468.2 kB / 0.5085 GB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3022, allocations: 11.98 kB / 0.5085 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.3023, allocations: 23.8 kB / 0.5085 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3025, allocations: 244.4 kB / 0.5087 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3025, allocations: 8 kB / 0.5087 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3025, allocations: 0 / 0.5087 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3027, allocations: 92.17 kB / 0.5088 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3027, allocations: 0 / 0.5088 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3027, allocations: 7.984 kB / 0.5088 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.3028, allocations: 8 kB / 0.5088 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.3029, allocations: 27.98 kB / 0.5089 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.3033, allocations: 364.6 kB / 0.5092 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3035, allocations: 82.67 kB / 0.5093 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.3035, allocations: 7.969 kB / 0.5093 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.3037, allocations: 87.47 kB / 0.5094 GB, free: 11.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.3037, allocations: 0 / 0.5094 GB, free: 11.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000298/0.304, allocations: 218.6 kB / 0.5096 GB, free: 11.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.3041, allocations: 110.8 kB / 0.5097 GB, free: 11.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3042, allocations: 253.6 kB / 0.5099 GB, free: 11.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3043, allocations: 29.7 kB / 0.51 GB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.3043, allocations: 124 kB / 0.5101 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3043, allocations: 23.73 kB / 0.5101 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.3044, allocations: 0 / 0.5101 GB, free: 11.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.3044, allocations: 334.8 kB / 0.5104 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.3045, allocations: 23.98 kB / 0.5105 GB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.3046, allocations: 76.14 kB / 0.5105 GB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/0.3046, allocations: 32 kB / 0.5106 GB, free: 10.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3046, allocations: 0 / 0.5106 GB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001719/0.3048, allocations: 113.4 kB / 0.5107 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3048, allocations: 10.17 kB / 0.5107 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3049, allocations: 0 / 0.5107 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3049, allocations: 4 kB / 0.5107 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.305, allocations: 12 kB / 0.5107 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.305, allocations: 4 kB / 0.5107 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.305, allocations: 8.016 kB / 0.5107 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3051, allocations: 7.953 kB / 0.5107 GB, free: 10.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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.229e-05/0.3052, allocations: 141.8 kB / 0.5108 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.3052, allocations: 15.81 kB / 0.5109 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3052, allocations: 17.39 kB / 0.5109 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.3053, allocations: 4 kB / 0.5109 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3053, allocations: 0 / 0.5109 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3053, allocations: 3.938 kB / 0.5109 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3054, allocations: 229.4 kB / 0.5111 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3054, allocations: 4 kB / 0.5111 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.3055, allocations: 8 kB / 0.5111 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3055, allocations: 0 / 0.5111 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3055, allocations: 3.984 kB / 0.5111 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3055, allocations: 0 / 0.5111 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3055, allocations: 0 / 0.5111 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3057, allocations: 140.9 kB / 0.5113 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.3057, allocations: 100.9 kB / 0.5113 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3058, allocations: 4 kB / 0.5114 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-05/0.3058, allocations: 7.984 kB / 0.5114 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.3059, allocations: 8 kB / 0.5114 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3059, allocations: 7.984 kB / 0.5114 GB, free: 9.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.306, allocations: 195.3 kB / 0.5116 GB, free: 9.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.306, allocations: 3.938 kB / 0.5116 GB, free: 9.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.3063, allocations: 35.98 kB / 0.5116 GB, free: 9.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.0008249/0.3071, allocations: 424.3 kB / 0.512 GB, free: 9.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3073, allocations: 67.97 kB / 0.5121 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3073, allocations: 0 / 0.5121 GB, free: 9.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.3074, allocations: 39.92 kB / 0.5121 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3076, allocations: 35.7 kB / 0.5121 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.308, allocations: 310.1 kB / 0.5124 GB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.3082, allocations: 0.7323 MB / 0.5132 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.341e-05/0.3083, allocations: 29.05 kB / 0.5132 GB, free: 7.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.3083, allocations: 23.42 kB / 0.5132 GB, free: 7.957 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3083, allocations: 0 / 0.5132 GB, free: 7.957 MB / 382.1 MB Notification: Performance of Templates: time 0.004945/0.3133, allocations: 2.351 MB / 0.5155 GB, free: 5.629 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: