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.001448/0.001448, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001746/0.001746, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.684/1.684, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.913/1.913, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001385/0.001385, allocations: 65.5 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3063, allocations: 114.6 MB / 0.7829 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002357/0.3087, allocations: 0.7075 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3097, allocations: 0.7854 MB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.3098, allocations: 3.938 kB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.3099, allocations: 3.984 kB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.056e-05/0.3099, allocations: 0 / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.3101, allocations: 7.938 kB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3103, allocations: 31.92 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3104, allocations: 12 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.3105, allocations: 11.98 kB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.3105, allocations: 7.938 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.3105, allocations: 0 / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.3105, allocations: 4 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3106, allocations: 11.97 kB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.3107, allocations: 11.94 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.3108, allocations: 27.89 kB / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3108, allocations: 4 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3108, allocations: 3.938 kB / 0.7845 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3108, allocations: 4 kB / 0.7845 GB, free: 12.3 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.0006912/0.3115, allocations: 347.6 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3115, allocations: 8.031 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.3116, allocations: 0.9375 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.3118, allocations: 172.3 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3118, allocations: 4.375 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3118, allocations: 4.375 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.312, allocations: 54.23 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.312, allocations: 4.188 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3121, allocations: 3.938 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3121, allocations: 0 / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.3122, allocations: 43.89 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.3127, allocations: 268.9 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.3128, allocations: 34.56 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.3129, allocations: 24.83 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3129, allocations: 0 / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.313, allocations: 38.5 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.313, allocations: 0 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003571/0.3133, allocations: 81.55 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3134, allocations: 51.41 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.3135, allocations: 105.9 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3135, allocations: 25.7 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.3136, allocations: 84.12 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3136, allocations: 11.94 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.3136, allocations: 13.84 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3138, allocations: 314.8 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.3139, allocations: 15.98 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.314, allocations: 19.97 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3141, allocations: 40.83 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3141, allocations: 0 / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001688/0.3143, allocations: 65.56 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3143, allocations: 4 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3143, allocations: 4 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3144, allocations: 0 / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.3144, allocations: 11.92 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3145, allocations: 3.984 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.3145, allocations: 8.031 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3145, allocations: 0 / 0.7863 GB, free: 10.24 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.568e-05/0.3146, allocations: 118.4 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.3146, allocations: 0 / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.3146, allocations: 7.125 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3147, allocations: 0 / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3147, allocations: 0 / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3147, allocations: 0 / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3148, allocations: 165.5 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3148, allocations: 7.984 kB / 0.7865 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.3149, allocations: 4 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3149, allocations: 0 / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3149, allocations: 3.984 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3149, allocations: 4 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3149, allocations: 0 / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.3151, allocations: 159.5 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.3152, allocations: 81.02 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.3152, allocations: 0 / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.3153, allocations: 7.984 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3153, allocations: 8 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3153, allocations: 4.188 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.3154, allocations: 87.27 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3154, allocations: 0 / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002041/0.3156, allocations: 4 kB / 0.7869 GB, free: 9.492 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.0001248/0.3158, allocations: 103.2 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.316, allocations: 35.95 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.316, allocations: 0 / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.3161, allocations: 15.98 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3164, allocations: 7.938 kB / 0.787 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.3167, allocations: 121.6 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3171, allocations: 0.6807 MB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.3171, allocations: 0 / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.3172, allocations: 11.44 kB / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.023e-06/0.3172, allocations: 0 / 0.7878 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of Templates: time 0.002733/0.3199, allocations: 369.5 kB / 0.7882 GB, free: 8.098 MB / 0.6075 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)