Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001058/0.001058, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009918/0.009919, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.739/1.739, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.947/1.947, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0006874/0.0006878, allocations: 15.75 kB / 0.6743 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2744, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001094/0.2756, allocations: 373.5 kB / 0.7882 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2767, allocations: 0.7932 MB / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.2768, allocations: 0 / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.554e-05/0.2769, allocations: 0 / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.2769, allocations: 3.938 kB / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.2771, allocations: 11.98 kB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.2771, allocations: 23.88 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2773, allocations: 15.98 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.2773, allocations: 4 kB / 0.7891 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.2774, allocations: 15.92 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2774, allocations: 0 / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.2774, allocations: 0 / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.2775, allocations: 7.984 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.2775, allocations: 41.62 kB / 0.7891 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.565e-05/0.2776, allocations: 23.89 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2776, allocations: 0 / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2776, allocations: 0 / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2777, allocations: 4 kB / 0.7892 GB, free: 10.21 MB / 0.6075 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.0004609/0.2781, allocations: 347.7 kB / 0.7895 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2782, allocations: 8.031 kB / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.2782, allocations: 4.875 kB / 0.7895 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2784, allocations: 176.3 kB / 0.7897 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2784, allocations: 384 / 0.7897 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2784, allocations: 4.375 kB / 0.7897 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2786, allocations: 70.17 kB / 0.7898 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2786, allocations: 192 / 0.7898 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2787, allocations: 3.938 kB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2787, allocations: 0 / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.2788, allocations: 51.95 kB / 0.7898 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.2793, allocations: 272.9 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2794, allocations: 42.5 kB / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.867e-05/0.2795, allocations: 32.84 kB / 0.7901 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.2795, allocations: 0 / 0.7901 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2795, allocations: 34.56 kB / 0.7902 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2796, allocations: 4 kB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003581/0.2799, allocations: 85.64 kB / 0.7903 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.28, allocations: 59.47 kB / 0.7903 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.2801, allocations: 105.8 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.2801, allocations: 25.7 kB / 0.7904 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.2801, allocations: 88.05 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.2802, allocations: 7.938 kB / 0.7905 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.2802, allocations: 9.719 kB / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2803, allocations: 318.8 kB / 0.7908 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.2804, allocations: 23.98 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.2805, allocations: 19.98 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2806, allocations: 52.88 kB / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2807, allocations: 0 / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002184/0.2809, allocations: 73.52 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2809, allocations: 4 kB / 0.791 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2809, allocations: 8.031 kB / 0.791 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2809, allocations: 3.984 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.407e-05/0.281, allocations: 7.984 kB / 0.791 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.281, allocations: 4 kB / 0.791 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.2811, allocations: 7.984 kB / 0.791 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.2811, allocations: 3.938 kB / 0.791 GB, free: 8.066 MB / 0.6075 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 7.63e-05/0.2812, allocations: 118.7 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.2812, allocations: 4 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.2812, allocations: 3.125 kB / 0.7912 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2813, allocations: 0 / 0.7912 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2813, allocations: 4 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2813, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.2814, allocations: 161.6 kB / 0.7913 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2814, allocations: 0 / 0.7913 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.2815, allocations: 11.98 kB / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2815, allocations: 0 / 0.7913 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2815, allocations: 4 kB / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2815, allocations: 0 / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2815, allocations: 4 kB / 0.7913 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2818, allocations: 175.4 kB / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.2818, allocations: 81.11 kB / 0.7916 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.2819, allocations: 0 / 0.7916 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.2819, allocations: 7.984 kB / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.282, allocations: 0 / 0.7916 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.282, allocations: 7.938 kB / 0.7916 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.282, allocations: 83.53 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2821, allocations: 0 / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002099/0.2823, allocations: 4.031 kB / 0.7917 GB, free: 7.312 MB / 0.6075 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.0001246/0.2824, allocations: 107.2 kB / 0.7918 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.2826, allocations: 35.97 kB / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2826, allocations: 4.062 kB / 0.7918 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.2827, allocations: 27.92 kB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.283, allocations: 3.938 kB / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.2833, allocations: 128.5 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.2836, allocations: 0.681 MB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.2836, allocations: 7.984 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.2836, allocations: 7.438 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2836, allocations: 0 / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of Templates: time 0.002385/0.286, allocations: 351 kB / 0.793 GB, free: 5.918 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1) Environment - environmentSimulation: