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.00105/0.00105, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00881/0.008811, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.824/1.824, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.6822/0.6822, allocations: 95.62 MB / 366.4 MB, free: 10.25 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.0006441/0.0006442, allocations: 15.98 kB / 447.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3891, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002111/0.3913, allocations: 1.451 MB / 0.5071 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3928, allocations: 0.9797 MB / 0.508 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.3929, allocations: 11.94 kB / 0.508 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.3933, allocations: 51.88 kB / 0.5081 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.3934, allocations: 75.72 kB / 0.5082 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.3939, allocations: 175.5 kB / 0.5083 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.3941, allocations: 131.7 kB / 0.5085 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3942, allocations: 29.09 kB / 0.5085 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.16e-05/0.3943, allocations: 55.7 kB / 0.5085 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.3944, allocations: 55.75 kB / 0.5086 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3944, allocations: 4 kB / 0.5086 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3945, allocations: 59.91 kB / 0.5087 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.3946, allocations: 39.83 kB / 0.5087 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.3947, allocations: 73.38 kB / 0.5088 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3949, allocations: 193.3 kB / 0.509 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3949, allocations: 0 / 0.509 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.395, allocations: 4 kB / 0.509 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.395, allocations: 0 / 0.509 GB, free: 12.93 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.0005541/0.3955, allocations: 472.4 kB / 0.5094 GB, free: 12.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3956, allocations: 11.98 kB / 0.5094 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.3956, allocations: 16.75 kB / 0.5094 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.3959, allocations: 252.9 kB / 0.5097 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3959, allocations: 0 / 0.5097 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3959, allocations: 4 kB / 0.5097 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3961, allocations: 108.1 kB / 0.5098 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3961, allocations: 0 / 0.5098 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3962, allocations: 0 / 0.5098 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.3962, allocations: 4 kB / 0.5098 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/0.3963, allocations: 27.98 kB / 0.5098 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3967, allocations: 360.6 kB / 0.5102 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3969, allocations: 90.66 kB / 0.5102 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.397, allocations: 32.84 kB / 0.5103 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.397, allocations: 3.984 kB / 0.5103 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.3972, allocations: 87.41 kB / 0.5104 GB, free: 11.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3973, allocations: 0 / 0.5104 GB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003191/0.3976, allocations: 137.4 kB / 0.5105 GB, free: 11.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3976, allocations: 102.8 kB / 0.5106 GB, free: 11.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.3978, allocations: 261.6 kB / 0.5108 GB, free: 10.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3978, allocations: 29.7 kB / 0.5109 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.3979, allocations: 120.1 kB / 0.511 GB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3979, allocations: 23.7 kB / 0.511 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.398, allocations: 13.7 kB / 0.511 GB, free: 10.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.398, allocations: 334.8 kB / 0.5113 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.3981, allocations: 23.98 kB / 0.5114 GB, free: 10.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.3982, allocations: 72.2 kB / 0.5114 GB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3983, allocations: 65.7 kB / 0.5115 GB, free: 10.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3983, allocations: 4 kB / 0.5115 GB, free: 10.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.3985, allocations: 117.4 kB / 0.5116 GB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3985, allocations: 4 kB / 0.5116 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3985, allocations: 4 kB / 0.5116 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3986, allocations: 3.938 kB / 0.5116 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.3986, allocations: 15.98 kB / 0.5116 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3987, allocations: 0 / 0.5116 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.3987, allocations: 8 kB / 0.5116 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3987, allocations: 3.984 kB / 0.5116 GB, free: 9.902 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 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001074/0.3989, allocations: 153.7 kB / 0.5118 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.3989, allocations: 16 kB / 0.5118 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.3989, allocations: 21.34 kB / 0.5118 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3989, allocations: 3.938 kB / 0.5118 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.399, allocations: 3.984 kB / 0.5118 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.399, allocations: 0 / 0.5118 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.3991, allocations: 225.6 kB / 0.5121 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3991, allocations: 0 / 0.5121 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.479e-05/0.3992, allocations: 4 kB / 0.5121 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3992, allocations: 4 kB / 0.5121 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3992, allocations: 3.938 kB / 0.5121 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3992, allocations: 4 kB / 0.5121 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3992, allocations: 0 / 0.5121 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3994, allocations: 145.2 kB / 0.5122 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.3994, allocations: 96.91 kB / 0.5123 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3995, allocations: 3.984 kB / 0.5123 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.3995, allocations: 15.97 kB / 0.5123 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.3996, allocations: 11.98 kB / 0.5123 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3996, allocations: 4 kB / 0.5123 GB, free: 9.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3997, allocations: 199.3 kB / 0.5125 GB, free: 8.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3998, allocations: 0 / 0.5125 GB, free: 8.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.4, allocations: 32 kB / 0.5126 GB, free: 8.879 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 (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.0009004/0.4009, allocations: 437.9 kB / 0.513 GB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.4011, allocations: 75.89 kB / 0.513 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4011, allocations: 0 / 0.513 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.4012, allocations: 35.97 kB / 0.5131 GB, free: 8.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4015, allocations: 35.77 kB / 0.5131 GB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.402, allocations: 326 kB / 0.5134 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.4022, allocations: 0.7204 MB / 0.5141 GB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.4022, allocations: 29.38 kB / 0.5142 GB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.4023, allocations: 19.42 kB / 0.5142 GB, free: 7.324 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4023, allocations: 0 / 0.5142 GB, free: 7.324 MB / 382.1 MB Notification: Performance of Templates: time 0.005144/0.4074, allocations: 2.415 MB / 0.5165 GB, free: 4.93 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: