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.001168/0.001168, allocations: 118 kB / 16.38 MB, free: 6.016 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.001126/0.001127, allocations: 190.5 kB / 17.31 MB, free: 5.613 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.321/1.321, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.735/1.735, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.002315/0.002315, allocations: 63.91 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2824, allocations: 114.6 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001949/0.2844, allocations: 0.6505 MB / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000858/0.2853, allocations: 0.7931 MB / 0.7862 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.2853, allocations: 4 kB / 0.7862 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.503e-05/0.2854, allocations: 3.938 kB / 0.7862 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.855e-05/0.2855, allocations: 4 kB / 0.7862 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.631e-05/0.2856, allocations: 4 kB / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.2856, allocations: 27.92 kB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2857, allocations: 7.984 kB / 0.7863 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.2858, allocations: 7.938 kB / 0.7863 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.2859, allocations: 15.97 kB / 0.7863 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2859, allocations: 4 kB / 0.7863 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.2859, allocations: 0 / 0.7863 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.2859, allocations: 15.92 kB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.286, allocations: 15.94 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.347e-05/0.2861, allocations: 23.89 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2861, allocations: 3.938 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2861, allocations: 0 / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2861, allocations: 4 kB / 0.7863 GB, free: 1.613 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.0005/0.2866, allocations: 339.4 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2867, allocations: 12.03 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.2867, allocations: 0.9375 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.2869, allocations: 180.3 kB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.2869, allocations: 384 / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.2869, allocations: 4.375 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.2871, allocations: 54.23 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2872, allocations: 192 / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2872, allocations: 3.938 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2872, allocations: 4 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2874, allocations: 35.91 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.2878, allocations: 276.9 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2879, allocations: 30.56 kB / 0.7872 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.288, allocations: 20.91 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.288, allocations: 0 / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2881, allocations: 38.5 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.2881, allocations: 0 / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0003394/0.2884, allocations: 73.64 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.2885, allocations: 59.34 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.2886, allocations: 105.8 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2886, allocations: 25.83 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.2886, allocations: 96.03 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2887, allocations: 3.938 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.2887, allocations: 13.72 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3748/0.6635, allocations: 322.6 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6637, allocations: 9.234 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.6638, allocations: 15.8 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.6639, allocations: 39.81 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6639, allocations: 0.8125 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002067/0.6642, allocations: 69.59 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6642, allocations: 6.031 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6642, allocations: 0 / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.6642, allocations: 0 / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.6643, allocations: 10.08 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6643, allocations: 2.484 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.6644, allocations: 8.062 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.6644, allocations: 0 / 0.7881 GB, free: 48.43 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 5.803e-05/0.6645, allocations: 117 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.6645, allocations: 2.625 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.6645, allocations: 6.312 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6645, allocations: 0 / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6646, allocations: 6.562 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6646, allocations: 0 / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.6647, allocations: 157.1 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6647, allocations: 0 / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.6648, allocations: 10.08 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6648, allocations: 0 / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6648, allocations: 0 / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.6648, allocations: 1 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6648, allocations: 6.562 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.665, allocations: 164.2 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.665, allocations: 82.36 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.6651, allocations: 0 / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.6651, allocations: 9.422 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.6652, allocations: 5.781 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.6652, allocations: 2.625 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.6652, allocations: 84.72 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6652, allocations: 0 / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002098/0.6654, allocations: 2.625 kB / 0.7888 GB, free: 47.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 9.737e-05/0.6655, allocations: 105 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.6658, allocations: 32.61 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6658, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.6659, allocations: 19.53 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.6662, allocations: 2.969 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.6665, allocations: 130.2 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.6666, allocations: 0.6848 MB / 0.7897 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.6666, allocations: 10.44 kB / 0.7897 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6666, allocations: 3.844 kB / 0.7897 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.001988/0.6686, allocations: 0.5733 MB / 0.7903 GB, free: 46.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (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)