Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.897/2.897, allocations: 285 MB / 292.5 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 184.9 kB / 360.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 92.62 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.267e-05, allocations: 8 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8528, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2897/1.143, allocations: 141.1 MB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/1.143, allocations: 72.47 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04426/1.187, allocations: 5.362 MB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.094e-06/1.187, allocations: 0.625 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.656e-05/1.187, allocations: 7.938 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB 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.00104/1.188, allocations: 453.3 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/1.188, allocations: 12.03 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/1.189, allocations: 24.91 kB / 1.107 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008112/1.189, allocations: 256.3 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/1.19, allocations: 0 / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/1.19, allocations: 8.594 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002148/1.19, allocations: 27.98 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/1.19, allocations: 93.42 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.19, allocations: 0.625 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/1.19, allocations: 0.625 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/1.19, allocations: 4 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/1.191, allocations: 351.3 kB / 1.108 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/1.192, allocations: 84.64 kB / 1.108 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/1.192, allocations: 28.91 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/1.192, allocations: 4 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/1.192, allocations: 74.45 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 4.268e-06/1.192, allocations: 3.938 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0005706/1.193, allocations: 113.5 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.193, allocations: 110.8 kB / 1.108 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/1.193, allocations: 232.3 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/1.193, allocations: 25.7 kB / 1.108 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.194, allocations: 123 kB / 1.108 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/1.194, allocations: 19.72 kB / 1.108 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/1.194, allocations: 0 / 1.108 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002569/1.194, allocations: 334.8 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/1.194, allocations: 24 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/1.194, allocations: 72.27 kB / 1.109 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/1.195, allocations: 27.98 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.195, allocations: 1.688 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004804/1.195, allocations: 105.4 kB / 1.109 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/1.195, allocations: 8 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.195, allocations: 0 / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.195, allocations: 0 / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/1.196, allocations: 24.02 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.196, allocations: 0 / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/1.196, allocations: 4 kB / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/1.196, allocations: 7.953 kB / 1.109 GB, free: 7.199 MB / 0.7136 GB 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.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete 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.000185/1.196, allocations: 108.9 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/1.196, allocations: 15.81 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/1.197, allocations: 127.4 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.197, allocations: 8 kB / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.197, allocations: 3.844 kB / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.197, allocations: 0 / 1.109 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/1.197, allocations: 215.4 kB / 1.11 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/1.197, allocations: 0 / 1.11 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/1.197, allocations: 11.98 kB / 1.11 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.197, allocations: 0 / 1.11 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/1.198, allocations: 4 kB / 1.11 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.198, allocations: 0 / 1.11 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.198, allocations: 0 / 1.11 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/1.198, allocations: 148.8 kB / 1.11 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.198, allocations: 104.9 kB / 1.11 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/1.198, allocations: 0 / 1.11 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.199, allocations: 7.875 kB / 1.11 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/1.199, allocations: 7.984 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/1.199, allocations: 0 / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004217/1.199, allocations: 196.2 kB / 1.11 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.61e-07/1.199, allocations: 0 / 1.11 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006787/1.2, allocations: 51.92 kB / 1.11 GB, free: 6.133 MB / 0.7136 GB 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001755/1.202, allocations: 373.6 kB / 1.11 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004721/1.202, allocations: 79.91 kB / 1.11 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.202, allocations: 0 / 1.11 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/1.202, allocations: 35.92 kB / 1.111 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/1.203, allocations: 39.7 kB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/1.204, allocations: 219.5 kB / 1.111 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/1.205, allocations: 0.724 MB / 1.111 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002523/1.205, allocations: 28.45 kB / 1.111 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.205, allocations: 23.42 kB / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of SimCode: time 1.362e-06/1.205, allocations: 0 / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of Templates: time 0.01367/1.219, allocations: 2.351 MB / 1.114 GB, free: 2.453 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)