Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 104 kB / 16.35 MB, free: 5.879 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.001104/0.001104, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.493/1.493, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.861/1.861, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001404/0.001404, allocations: 70.25 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2332, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001957/0.2353, allocations: 0.647 MB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.2362, allocations: 0.7932 MB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.2363, allocations: 0 / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.696e-05/0.2364, allocations: 0 / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.2365, allocations: 15.91 kB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.856e-05/0.2366, allocations: 4 kB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.2367, allocations: 67.77 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.2368, allocations: 15.98 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.2369, allocations: 23.92 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.237, allocations: 31.91 kB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2371, allocations: 4 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.2371, allocations: 4 kB / 0.7864 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.2371, allocations: 27.91 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.2372, allocations: 23.86 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2373, allocations: 75.72 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2374, allocations: 0 / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2374, allocations: 0 / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2374, allocations: 0 / 0.7865 GB, free: 1.438 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006745/0.2381, allocations: 383.3 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2381, allocations: 15.97 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.2382, allocations: 12.84 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.2384, allocations: 180.3 kB / 0.787 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2384, allocations: 4.375 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2384, allocations: 8.375 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.2388, allocations: 131.8 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.2388, allocations: 192 / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2388, allocations: 11.88 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2388, allocations: 4 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.2392, allocations: 123.8 kB / 0.7873 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4583/0.6975, allocations: 437.5 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.6979, allocations: 85.52 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.698, allocations: 64.64 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.6981, allocations: 1.375 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.6981, allocations: 34.62 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.796e-06/0.6981, allocations: 0.7188 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000641/0.6987, allocations: 198.5 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.6988, allocations: 77.11 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.6989, allocations: 119.3 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6989, allocations: 27.3 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.699, allocations: 94.31 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.699, allocations: 11.89 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.699, allocations: 13.16 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.6991, allocations: 321 kB / 0.7887 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.6993, allocations: 54.22 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.6994, allocations: 67.33 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.6997, allocations: 105 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6997, allocations: 2.625 kB / 0.7889 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003399/0.7001, allocations: 140.2 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7001, allocations: 8.016 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7001, allocations: 5.812 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7001, allocations: 0 / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.7003, allocations: 17.72 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7003, allocations: 0 / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.824e-05/0.7004, allocations: 20.3 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.7004, allocations: 1.312 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 8.224e-05/0.7005, allocations: 124.9 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.7005, allocations: 2.688 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.7006, allocations: 10.09 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.7006, allocations: 4.828 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.7006, allocations: 3.938 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7006, allocations: 3.719 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.7008, allocations: 179.8 kB / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7008, allocations: 0 / 0.7894 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.7009, allocations: 23.05 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.701, allocations: 3.469 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.701, allocations: 0 / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.701, allocations: 3.062 kB / 0.7895 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.701, allocations: 3.938 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.7014, allocations: 307.1 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.7015, allocations: 82.27 kB / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.7015, allocations: 6.406 kB / 0.7899 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.7017, allocations: 14.89 kB / 0.7899 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.7017, allocations: 15.81 kB / 0.7899 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.7017, allocations: 0.8438 kB / 0.7899 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.7018, allocations: 97.12 kB / 0.79 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7018, allocations: 0.625 kB / 0.79 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000262/0.702, allocations: 14.83 kB / 0.79 GB, free: 47.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0001215/0.7022, allocations: 99.83 kB / 0.7901 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.7026, allocations: 113.1 kB / 0.7902 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7026, allocations: 0.6875 kB / 0.7902 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.7028, allocations: 67.33 kB / 0.7903 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.7031, allocations: 9.25 kB / 0.7903 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.7034, allocations: 156.3 kB / 0.7904 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.7036, allocations: 0.6991 MB / 0.7911 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.7036, allocations: 11.81 kB / 0.7911 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.7036, allocations: 10.22 kB / 0.7911 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7037, allocations: 0 / 0.7911 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.002964/0.7066, allocations: 0.7974 MB / 0.7919 GB, free: 46.13 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)