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.001871/0.001871, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 193 kB / 16.53 MB, free: 6.391 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.923/1.923, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.847/1.847, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00152/0.00152, allocations: 69.25 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3334, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.002175/0.3357, allocations: 0.6428 MB / 0.784 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.3367, allocations: 0.7893 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.3367, allocations: 4 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.3369, allocations: 7.922 kB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.991e-05/0.3369, allocations: 3.938 kB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.337, allocations: 8 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.3371, allocations: 23.92 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3373, allocations: 8 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.3374, allocations: 11.98 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.3374, allocations: 11.92 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.3375, allocations: 11.92 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.3375, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.3376, allocations: 8 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.3376, allocations: 15.92 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3377, allocations: 23.91 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3378, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.125e-06/0.3378, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3378, allocations: 4 kB / 0.7849 GB, free: 11.88 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.0006597/0.3384, allocations: 347.7 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3385, allocations: 15.97 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3386, allocations: 0.9375 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3388, allocations: 172.3 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3388, allocations: 4.375 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3388, allocations: 4.375 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.3391, allocations: 54.17 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3391, allocations: 4.188 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3391, allocations: 7.922 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3391, allocations: 4 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3393, allocations: 39.91 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3398, allocations: 268.9 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3399, allocations: 34.55 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.34, allocations: 20.91 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.34, allocations: 3.938 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3401, allocations: 34.56 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.3401, allocations: 0 / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003327/0.3404, allocations: 81.55 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3405, allocations: 51.41 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.3406, allocations: 105.8 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3406, allocations: 25.7 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.3406, allocations: 80.14 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3406, allocations: 7.938 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.3407, allocations: 17.84 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3408, allocations: 314.8 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.3409, allocations: 19.97 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.341, allocations: 15.92 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.3411, allocations: 36.89 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3411, allocations: 4 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001718/0.3413, allocations: 65.56 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3413, allocations: 4.938 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3413, allocations: 0 / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3413, allocations: 0 / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.3414, allocations: 11.98 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3414, allocations: 0 / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.3415, allocations: 12.22 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3415, allocations: 3.984 kB / 0.7867 GB, free: 9.82 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 8.821e-05/0.3416, allocations: 114.4 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3416, allocations: 8 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.3417, allocations: 7.125 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3417, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3417, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3417, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3418, allocations: 165.6 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3418, allocations: 4 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.3419, allocations: 4 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3419, allocations: 3.984 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3419, allocations: 0 / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3419, allocations: 3.938 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3419, allocations: 0 / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3422, allocations: 159.5 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.3422, allocations: 85 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3422, allocations: 0 / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.3423, allocations: 4 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.3424, allocations: 7.984 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3424, allocations: 0 / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.3424, allocations: 83.22 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3424, allocations: 0 / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001983/0.3426, allocations: 4 kB / 0.7873 GB, free: 9.082 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.0001123/0.3427, allocations: 103.3 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.343, allocations: 31.95 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.343, allocations: 4 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.343, allocations: 15.98 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3433, allocations: 7.938 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.3437, allocations: 113.6 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.344, allocations: 0.6768 MB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.344, allocations: 11.92 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.344, allocations: 7.438 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.344, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of Templates: time 0.002637/0.3467, allocations: 430.7 kB / 0.7887 GB, free: 7.637 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)