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.007763/0.007763, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.0015/0.0015, allocations: 198.3 kB / 16.68 MB, free: 5.965 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.798/1.798, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.73/1.73, allocations: 251.7 MB / 0.5094 GB, free: 2.957 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.001538/0.001538, allocations: 67.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2741, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002602/0.2767, allocations: 1.348 MB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004205/0.2772, allocations: 156.7 kB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.2772, allocations: 4 kB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2773, allocations: 0 / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.2774, allocations: 7.938 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.2775, allocations: 15.92 kB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.2776, allocations: 23.98 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2778, allocations: 15.98 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.2778, allocations: 19.88 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.2779, allocations: 19.91 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.2779, allocations: 4 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.278, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.278, allocations: 11.98 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.2781, allocations: 19.88 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.231e-05/0.2782, allocations: 39.86 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2782, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2782, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2782, allocations: 0 / 0.8297 GB, free: 14.54 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.0005382/0.2788, allocations: 355.4 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.2788, allocations: 8.031 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.2789, allocations: 8.828 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.279, allocations: 164.4 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2791, allocations: 8.375 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2791, allocations: 384 / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.2793, allocations: 70.16 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2793, allocations: 4.188 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2793, allocations: 3.938 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2794, allocations: 0 / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.2796, allocations: 47.89 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.28, allocations: 280.7 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.2801, allocations: 50.5 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.278e-05/0.2802, allocations: 20.89 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2803, allocations: 0 / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2803, allocations: 38.56 kB / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.2803, allocations: 3.938 kB / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003827/0.2807, allocations: 89.58 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2807, allocations: 51.41 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.034e-05/0.2808, allocations: 109.8 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2809, allocations: 25.7 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.2809, allocations: 84.22 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.2809, allocations: 11.89 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.281, allocations: 17.7 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2811, allocations: 322.9 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.861e-05/0.2812, allocations: 15.97 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.2813, allocations: 19.98 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.2815, allocations: 40.81 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2815, allocations: 0 / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.2817, allocations: 77.66 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2817, allocations: 10.81 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2817, allocations: 0 / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2818, allocations: 0 / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2819, allocations: 11.98 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2819, allocations: 0 / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.951e-05/0.282, allocations: 4 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.282, allocations: 256 / 0.8315 GB, free: 12.39 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.0001439/0.2821, allocations: 121.8 kB / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2822, allocations: 0 / 0.8317 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.2822, allocations: 7.125 kB / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2822, allocations: 4 kB / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2822, allocations: 0 / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2822, allocations: 4 kB / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2824, allocations: 177.4 kB / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2824, allocations: 0 / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.697e-05/0.2825, allocations: 7.984 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2825, allocations: 4 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.2825, allocations: 0 / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2825, allocations: 4 kB / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2825, allocations: 0 / 0.8319 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.2828, allocations: 167.4 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.2828, allocations: 81.09 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2828, allocations: 11.97 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.2829, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.283, allocations: 7.984 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.283, allocations: 3.984 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.283, allocations: 83.28 kB / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.283, allocations: 0 / 0.8322 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002199/0.2833, allocations: 8 kB / 0.8322 GB, free: 11.62 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.0001344/0.2834, allocations: 103.2 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2837, allocations: 51.83 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2837, allocations: 0 / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.004e-05/0.2838, allocations: 15.98 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.284, allocations: 8 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.2844, allocations: 125.6 kB / 0.8325 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.2847, allocations: 0.6844 MB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.2848, allocations: 0 / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.2848, allocations: 15.44 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2848, allocations: 0 / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.00287/0.2877, allocations: 0.6117 MB / 0.8338 GB, free: 9.945 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)