Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001306, allocations: 195.9 kB / 16.53 MB, free: 6.684 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.687/1.687, allocations: 205.1 MB / 222.4 MB, free: 4.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.746/1.746, allocations: 251.7 MB / 0.5092 GB, free: 3.258 MB / 414.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.001425/0.001425, allocations: 72.45 kB / 0.6223 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6396, allocations: 104.7 MB / 0.7245 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002858/0.6425, allocations: 1.354 MB / 0.7258 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.643, allocations: 152.4 kB / 0.726 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.6431, allocations: 4 kB / 0.726 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.6432, allocations: 3.938 kB / 0.726 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.84e-05/0.6432, allocations: 4 kB / 0.726 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.6434, allocations: 23.92 kB / 0.726 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.6435, allocations: 27.92 kB / 0.7261 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.6436, allocations: 11.98 kB / 0.7261 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.6437, allocations: 15.92 kB / 0.7261 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.6438, allocations: 19.92 kB / 0.7261 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.6438, allocations: 4 kB / 0.7261 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.6438, allocations: 4 kB / 0.7261 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.6439, allocations: 11.98 kB / 0.7261 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.6439, allocations: 19.86 kB / 0.7261 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.644, allocations: 35.88 kB / 0.7262 GB, free: 11.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.644, allocations: 0 / 0.7262 GB, free: 11.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.644, allocations: 0 / 0.7262 GB, free: 11.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.644, allocations: 0 / 0.7262 GB, free: 11.4 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005384/0.6446, allocations: 349.3 kB / 0.7265 GB, free: 11.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6446, allocations: 16.03 kB / 0.7265 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.6447, allocations: 0.9375 kB / 0.7265 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.6448, allocations: 172.3 kB / 0.7267 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.6449, allocations: 4.375 kB / 0.7267 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.6449, allocations: 8.312 kB / 0.7267 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.6451, allocations: 62.22 kB / 0.7268 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6451, allocations: 4.188 kB / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6451, allocations: 3.938 kB / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.6451, allocations: 0 / 0.7268 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.6453, allocations: 47.95 kB / 0.7268 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.6458, allocations: 288.7 kB / 0.7271 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.6459, allocations: 38.5 kB / 0.7271 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-05/0.646, allocations: 32.89 kB / 0.7272 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.6461, allocations: 0 / 0.7272 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.6461, allocations: 30.56 kB / 0.7272 GB, free: 10.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6461, allocations: 0 / 0.7272 GB, free: 10.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003792/0.6465, allocations: 93.67 kB / 0.7273 GB, free: 10.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6465, allocations: 55.44 kB / 0.7273 GB, free: 10.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.6466, allocations: 109.8 kB / 0.7274 GB, free: 9.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.6466, allocations: 25.7 kB / 0.7275 GB, free: 9.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.6467, allocations: 84.08 kB / 0.7275 GB, free: 9.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.6467, allocations: 7.906 kB / 0.7275 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.6468, allocations: 17.7 kB / 0.7276 GB, free: 9.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6469, allocations: 318.8 kB / 0.7279 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.647, allocations: 19.98 kB / 0.7279 GB, free: 9.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.6471, allocations: 23.97 kB / 0.7279 GB, free: 9.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.6472, allocations: 40.81 kB / 0.7279 GB, free: 9.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6472, allocations: 0 / 0.7279 GB, free: 9.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002093/0.6475, allocations: 73.66 kB / 0.728 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6475, allocations: 8 kB / 0.728 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6475, allocations: 3.984 kB / 0.728 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6475, allocations: 0 / 0.728 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.6476, allocations: 11.98 kB / 0.728 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.6476, allocations: 0 / 0.728 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.6477, allocations: 4 kB / 0.728 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.6477, allocations: 4 kB / 0.728 GB, free: 9.254 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001375/0.6479, allocations: 117.8 kB / 0.7282 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.6479, allocations: 4 kB / 0.7282 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.6479, allocations: 7.125 kB / 0.7282 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6479, allocations: 0 / 0.7282 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6479, allocations: 0 / 0.7282 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6479, allocations: 0 / 0.7282 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.6481, allocations: 169.5 kB / 0.7283 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6481, allocations: 0 / 0.7283 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.6482, allocations: 11.98 kB / 0.7283 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6482, allocations: 0 / 0.7283 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6482, allocations: 4 kB / 0.7283 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6482, allocations: 0 / 0.7283 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.6482, allocations: 0 / 0.7283 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.6485, allocations: 171.4 kB / 0.7285 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.6485, allocations: 85.28 kB / 0.7286 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.6485, allocations: 4 kB / 0.7286 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.6486, allocations: 15.97 kB / 0.7286 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.6487, allocations: 15.91 kB / 0.7286 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.6487, allocations: 0 / 0.7286 GB, free: 8.566 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.6487, allocations: 83.28 kB / 0.7287 GB, free: 8.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6487, allocations: 0 / 0.7287 GB, free: 8.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002131/0.649, allocations: 4 kB / 0.7287 GB, free: 8.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001314/0.6491, allocations: 103.2 kB / 0.7288 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.6493, allocations: 51.83 kB / 0.7289 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6494, allocations: 4 kB / 0.7289 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.6495, allocations: 15.98 kB / 0.7289 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.6497, allocations: 12.38 kB / 0.7289 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.6501, allocations: 129.5 kB / 0.729 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.6503, allocations: 0.6768 MB / 0.7297 GB, free: 7.434 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.6504, allocations: 4 kB / 0.7297 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.6504, allocations: 11.44 kB / 0.7297 GB, free: 7.418 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6504, allocations: 0 / 0.7297 GB, free: 7.418 MB / 0.545 GB Notification: Performance of Templates: time 0.002849/0.6533, allocations: 0.6167 MB / 0.7303 GB, free: 6.809 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)