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.RealReplicator.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.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008213/0.008213, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.002016/0.002017, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.77/1.77, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.581/1.581, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.00161/0.00161, allocations: 75.91 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2934, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.003049/0.2966, allocations: 1.334 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004386/0.297, allocations: 108.9 kB / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.2971, allocations: 0 / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2973, allocations: 7.922 kB / 0.8294 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.69e-05/0.2973, allocations: 11.92 kB / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.2975, allocations: 12 kB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.504e-05/0.2976, allocations: 19.98 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2977, allocations: 4 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.2978, allocations: 19.86 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.2979, allocations: 11.98 kB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.2979, allocations: 0 / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.2979, allocations: 4 kB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.225e-05/0.298, allocations: 7.938 kB / 0.8295 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.2981, allocations: 15.92 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2982, allocations: 31.89 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2982, allocations: 0 / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2982, allocations: 0 / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2982, allocations: 0 / 0.8296 GB, free: 14.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005499/0.2988, allocations: 347.4 kB / 0.8299 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2988, allocations: 8.031 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.2989, allocations: 8.828 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2991, allocations: 168.4 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2991, allocations: 4.375 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.2991, allocations: 12.3 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2994, allocations: 62.17 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2994, allocations: 192 / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2994, allocations: 3.938 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2994, allocations: 0 / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.2996, allocations: 31.97 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.3002, allocations: 280.8 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.3004, allocations: 34.5 kB / 0.8305 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.3005, allocations: 24.84 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3005, allocations: 0 / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.3005, allocations: 34.56 kB / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3006, allocations: 0 / 0.8305 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.00043/0.301, allocations: 73.64 kB / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.3011, allocations: 55.34 kB / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3012, allocations: 109.8 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3012, allocations: 25.7 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.3013, allocations: 92.2 kB / 0.8309 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3014, allocations: 7.906 kB / 0.8309 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.3014, allocations: 9.719 kB / 0.8309 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002335/0.3016, allocations: 322.8 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.3017, allocations: 15.98 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.3018, allocations: 11.98 kB / 0.8312 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.302, allocations: 36.89 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.302, allocations: 0 / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002009/0.3022, allocations: 61.66 kB / 0.8313 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.3022, allocations: 8 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3022, allocations: 3.938 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.3023, allocations: 0 / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3024, allocations: 7.984 kB / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3024, allocations: 4.031 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.3025, allocations: 7.984 kB / 0.8314 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3025, allocations: 0 / 0.8314 GB, free: 12.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001366/0.3026, allocations: 117.8 kB / 0.8315 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.3026, allocations: 0 / 0.8315 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.3027, allocations: 3.125 kB / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3027, allocations: 0 / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3027, allocations: 0 / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3027, allocations: 4 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.303, allocations: 165.6 kB / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.303, allocations: 0 / 0.8316 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.303, allocations: 7.984 kB / 0.8316 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.303, allocations: 0 / 0.8316 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3031, allocations: 7.938 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3031, allocations: 3.938 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3031, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3034, allocations: 171.3 kB / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.3034, allocations: 77.11 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3035, allocations: 4 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.3035, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.3036, allocations: 7.984 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3036, allocations: 256 / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.3037, allocations: 87.28 kB / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.3037, allocations: 0 / 0.832 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002283/0.304, allocations: 8.031 kB / 0.832 GB, free: 11.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001909/0.3042, allocations: 95.25 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3044, allocations: 35.95 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3044, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.3045, allocations: 11.98 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.305, allocations: 12.06 kB / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.3054, allocations: 105.6 kB / 0.8322 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3058, allocations: 0.6882 MB / 0.8329 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.3059, allocations: 7.984 kB / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.3059, allocations: 7.438 kB / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.3059, allocations: 0 / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.003091/0.309, allocations: 435.4 kB / 0.8333 GB, free: 10.38 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)