Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.4 MB / 303.7 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 185.2 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 0.631 GB, free: 9.793 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 94.23 kB / 0.7444 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005447/0.000545, allocations: 11.91 kB / 0.8675 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3221, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001006/0.3232, allocations: 350.1 kB / 0.9805 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.3241, allocations: 0.7854 MB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.3242, allocations: 0 / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.3243, allocations: 0 / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.3243, allocations: 11.92 kB / 0.9813 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.3245, allocations: 4 kB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.3246, allocations: 23.92 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3247, allocations: 4 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.071e-05/0.3247, allocations: 7.984 kB / 0.9813 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.3248, allocations: 11.94 kB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3248, allocations: 4 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.3248, allocations: 0 / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.3249, allocations: 11.98 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.3249, allocations: 37.64 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.438e-05/0.325, allocations: 23.88 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.325, allocations: 4 kB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.325, allocations: 0 / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3251, allocations: 0 / 0.9814 GB, free: 26.03 MB / 0.6198 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.0004487/0.3255, allocations: 343.7 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3256, allocations: 12.03 kB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.3256, allocations: 4.875 kB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3257, allocations: 176.3 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3258, allocations: 384 / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.3258, allocations: 4.375 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.326, allocations: 58.23 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.326, allocations: 8.188 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.326, allocations: 3.938 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.326, allocations: 3.984 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.3262, allocations: 43.95 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3266, allocations: 284.8 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3267, allocations: 30.56 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.3268, allocations: 36.89 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.3268, allocations: 0 / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.3269, allocations: 30.56 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.3269, allocations: 0 / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003403/0.3272, allocations: 97.58 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.3273, allocations: 51.41 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.3273, allocations: 105.8 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3273, allocations: 25.7 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.3274, allocations: 96.16 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.3274, allocations: 3.938 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.3274, allocations: 0 / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.3275, allocations: 318.8 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.3276, allocations: 19.98 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.3276, allocations: 27.91 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3278, allocations: 48.77 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3278, allocations: 0 / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001548/0.3279, allocations: 81.62 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.328, allocations: 5.406 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.328, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.328, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.3281, allocations: 8 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3281, allocations: 4.031 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.3281, allocations: 11.98 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3282, allocations: 256 / 0.9832 GB, free: 23.91 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.3282, allocations: 109.8 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3282, allocations: 4 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.3283, allocations: 11.11 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.3283, allocations: 0 / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3283, allocations: 4 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3283, allocations: 4 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3284, allocations: 161.6 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3284, allocations: 0 / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.3285, allocations: 11.98 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.3285, allocations: 3.938 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3285, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3285, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3285, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.3287, allocations: 171.5 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3288, allocations: 77.11 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3288, allocations: 4 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.3289, allocations: 16.02 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3289, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3289, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.393e-05/0.3289, allocations: 83.27 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001893/0.3291, allocations: 4 kB / 0.9839 GB, free: 23.16 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001017/0.3292, allocations: 95.25 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3294, allocations: 47.91 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3295, allocations: 3.938 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.3295, allocations: 31.91 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3298, allocations: 12.06 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.3301, allocations: 116.6 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.3303, allocations: 0.677 MB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.3303, allocations: 4 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.3304, allocations: 7.438 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.3304, allocations: 0 / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.002301/0.3327, allocations: 347.6 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)