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.009107/0.009107, allocations: 101.3 kB / 15.73 MB, free: 5.992 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.00171/0.00171, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.68/1.68, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.725/1.725, allocations: 251.7 MB / 0.5094 GB, free: 2.945 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.00153/0.00153, allocations: 67.91 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2893, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002716/0.2921, allocations: 1.348 MB / 0.8293 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004554/0.2926, allocations: 152.8 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.2927, allocations: 0 / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2928, allocations: 7.922 kB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.2928, allocations: 0 / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.293, allocations: 19.92 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.697e-05/0.2932, allocations: 39.91 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.2933, allocations: 8 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.2934, allocations: 15.92 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.209e-05/0.2935, allocations: 15.92 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2935, allocations: 4 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.2935, allocations: 4 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.966e-05/0.2936, allocations: 11.98 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.2936, allocations: 19.86 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.2938, allocations: 39.88 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2938, allocations: 4 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2938, allocations: 0 / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2938, allocations: 0 / 0.8297 GB, free: 14.51 MB / 0.6544 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.0005709/0.2944, allocations: 347.4 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2944, allocations: 8.031 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.2945, allocations: 8.844 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.2947, allocations: 172.3 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.2947, allocations: 4.312 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2947, allocations: 8.375 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.2949, allocations: 62.22 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.295, allocations: 192 / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.295, allocations: 7.938 kB / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.295, allocations: 4 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.2952, allocations: 39.95 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.2956, allocations: 288.6 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2958, allocations: 42.55 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.2959, allocations: 28.89 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.2959, allocations: 3.984 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.296, allocations: 30.56 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.296, allocations: 3.938 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003805/0.2963, allocations: 93.58 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2964, allocations: 51.41 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.2965, allocations: 109.8 kB / 0.8309 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2965, allocations: 29.7 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.2966, allocations: 80.14 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.2966, allocations: 3.906 kB / 0.831 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.2966, allocations: 25.83 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2968, allocations: 314.8 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.2968, allocations: 19.98 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.2969, allocations: 19.97 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.2971, allocations: 45.14 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2971, allocations: 0 / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002095/0.2973, allocations: 73.59 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2973, allocations: 7.984 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.2974, allocations: 3.984 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2974, allocations: 4 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2975, allocations: 4 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2975, allocations: 3.984 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.2976, allocations: 8.031 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2976, allocations: 0 / 0.8315 GB, free: 12.36 MB / 0.6544 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.0001336/0.2977, allocations: 121.8 kB / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.2977, allocations: 0 / 0.8317 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.2978, allocations: 11.12 kB / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2978, allocations: 0 / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2978, allocations: 0 / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2978, allocations: 0 / 0.8317 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.298, allocations: 173.4 kB / 0.8318 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.298, allocations: 4 kB / 0.8318 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.2981, allocations: 11.98 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2981, allocations: 3.938 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2981, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2981, allocations: 3.938 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2981, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2983, allocations: 171.5 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.2984, allocations: 77.11 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2984, allocations: 3.984 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.2985, allocations: 4 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.2985, allocations: 11.98 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2986, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.2986, allocations: 83.28 kB / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 0.8322 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002077/0.2988, allocations: 4 kB / 0.8322 GB, free: 11.59 MB / 0.6544 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.0001251/0.299, allocations: 103.3 kB / 0.8323 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.2992, allocations: 43.84 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2992, allocations: 0 / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2993, allocations: 27.97 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.2996, allocations: 4.125 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.2999, allocations: 125.5 kB / 0.8325 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.3003, allocations: 0.6844 MB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.3003, allocations: 4 kB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.3004, allocations: 7.438 kB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.3004, allocations: 0 / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.003337/0.3037, allocations: 0.6161 MB / 0.8338 GB, free: 9.922 MB / 0.6544 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)