Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.129/2.129, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001402, allocations: 177.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.411/2.411, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000977/0.0009767, allocations: 92.14 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004909, allocations: 13.81 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2629/0.4756, allocations: 131.2 MB / 1.028 GB, free: 14.15 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.476, allocations: 75.95 kB / 1.028 GB, free: 14.07 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.002534/0.4785, allocations: 0.6491 MB / 1.028 GB, free: 13.42 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4786, allocations: 0 / 1.028 GB, free: 13.42 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.4786, allocations: 4 kB / 1.028 GB, free: 13.42 MB / 0.6824 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.0004806/0.4791, allocations: 344.7 kB / 1.029 GB, free: 13.03 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4791, allocations: 8.031 kB / 1.029 GB, free: 13.02 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.4792, allocations: 4.938 kB / 1.029 GB, free: 13.02 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.4794, allocations: 180.2 kB / 1.029 GB, free: 12.8 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4794, allocations: 384 / 1.029 GB, free: 12.8 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4795, allocations: 8.359 kB / 1.029 GB, free: 12.8 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.4797, allocations: 58.23 kB / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4798, allocations: 8.172 kB / 1.029 GB, free: 12.73 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.4798, allocations: 7.938 kB / 1.029 GB, free: 12.72 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4798, allocations: 0 / 1.029 GB, free: 12.72 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.4801, allocations: 43.91 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.4806, allocations: 288.8 kB / 1.029 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.4809, allocations: 34.56 kB / 1.029 GB, free: 12.3 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.4811, allocations: 28.91 kB / 1.029 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.4811, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4811, allocations: 30.56 kB / 1.029 GB, free: 12.23 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.4811, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0005401/0.4817, allocations: 101.6 kB / 1.029 GB, free: 12.12 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4817, allocations: 51.41 kB / 1.029 GB, free: 12.06 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.4818, allocations: 101.8 kB / 1.03 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4819, allocations: 29.7 kB / 1.03 GB, free: 11.92 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.4819, allocations: 92.17 kB / 1.03 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.482, allocations: 0 / 1.03 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.482, allocations: 0 / 1.03 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4821, allocations: 314.8 kB / 1.03 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.4823, allocations: 27.97 kB / 1.03 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.4824, allocations: 19.98 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.4826, allocations: 23.98 kB / 1.03 GB, free: 11.44 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4826, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003399/0.483, allocations: 81.56 kB / 1.03 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.483, allocations: 8 kB / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.483, allocations: 0 / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.483, allocations: 3.938 kB / 1.03 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.4832, allocations: 11.98 kB / 1.03 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4832, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.4833, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4833, allocations: 4.031 kB / 1.03 GB, free: 11.32 MB / 0.6824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.4834, allocations: 117.8 kB / 1.03 GB, free: 11.2 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.4835, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.4835, allocations: 7.125 kB / 1.03 GB, free: 11.19 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4835, allocations: 4 kB / 1.03 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4835, allocations: 0 / 1.03 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4835, allocations: 0 / 1.03 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.4838, allocations: 161.6 kB / 1.03 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4838, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.4839, allocations: 12 kB / 1.03 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4839, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4839, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.4839, allocations: 4 kB / 1.03 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4839, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.4843, allocations: 171.4 kB / 1.031 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.4844, allocations: 81.11 kB / 1.031 GB, free: 10.68 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.4844, allocations: 7.922 kB / 1.031 GB, free: 10.67 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.4846, allocations: 4 kB / 1.031 GB, free: 10.67 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.4846, allocations: 4 kB / 1.031 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4846, allocations: 0 / 1.031 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.4847, allocations: 91.55 kB / 1.031 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6.01e-07/0.4847, allocations: 0 / 1.031 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002732/0.485, allocations: 11.84 kB / 1.031 GB, free: 10.56 MB / 0.6824 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 (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.00015/0.4852, allocations: 95.25 kB / 1.031 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.4855, allocations: 47.95 kB / 1.031 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4856, allocations: 0 / 1.031 GB, free: 10.41 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4857, allocations: 23.92 kB / 1.031 GB, free: 10.39 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.486, allocations: 7.938 kB / 1.031 GB, free: 10.38 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.4864, allocations: 121 kB / 1.031 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.4868, allocations: 0.6809 MB / 1.032 GB, free: 9.527 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.558e-05/0.4868, allocations: 0 / 1.032 GB, free: 9.527 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.4869, allocations: 7.438 kB / 1.032 GB, free: 9.52 MB / 0.6824 GB Notification: Performance of SimCode: time 1.312e-06/0.4869, allocations: 0 / 1.032 GB, free: 9.52 MB / 0.6824 GB Notification: Performance of Templates: time 0.003053/0.49, allocations: 347.5 kB / 1.032 GB, free: 9.184 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)