Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 173.7 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.578 GB, free: 20.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008647/0.0008644, allocations: 92.12 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004626, allocations: 9.062 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.001751/0.2832, allocations: 1.062 MB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.2836, allocations: 104.5 kB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.2836, allocations: 0 / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2838, allocations: 11.98 kB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.2838, allocations: 3.938 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.2839, allocations: 0 / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.284, allocations: 27.92 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2841, allocations: 4 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.2842, allocations: 15.92 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.2842, allocations: 4 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.2843, allocations: 0 / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2843, allocations: 7.938 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.2843, allocations: 11.97 kB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.2844, allocations: 33.64 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.004e-05/0.2845, allocations: 27.89 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2845, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.554e-06/0.2845, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2845, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 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.0004776/0.285, allocations: 339.6 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.2851, allocations: 8.031 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.2851, allocations: 34.73 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2852, allocations: 12.84 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2853, allocations: 172.6 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2854, allocations: 384 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2854, allocations: 384 / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.2856, allocations: 78.09 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2856, allocations: 7.922 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2856, allocations: 0 / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2856, allocations: 4 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.2858, allocations: 43.97 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.2863, allocations: 284.8 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2864, allocations: 42.5 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.2865, allocations: 28.91 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2865, allocations: 0 / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.2866, allocations: 34.5 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2866, allocations: 4 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003363/0.2869, allocations: 89.64 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.287, allocations: 59.47 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.287, allocations: 101.8 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.287, allocations: 29.7 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.2871, allocations: 84.14 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.2871, allocations: 3.906 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.2871, allocations: 0 / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.2872, allocations: 318.8 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.2873, allocations: 27.97 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.2873, allocations: 15.98 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2875, allocations: 48.89 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2875, allocations: 0 / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001756/0.2877, allocations: 77.59 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2877, allocations: 6.969 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.2877, allocations: 4.031 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2877, allocations: 0 / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.2878, allocations: 11.98 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2879, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.2879, allocations: 8 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2879, allocations: 0 / 0.9041 GB, free: 59.9 MB / 0.6042 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.602e-05/0.288, allocations: 117.8 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.288, allocations: 8 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.288, allocations: 3.125 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.288, allocations: 0 / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.288, allocations: 0 / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.288, allocations: 0 / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.2882, allocations: 165.6 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2882, allocations: 256 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.2883, allocations: 8 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2883, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2883, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2883, allocations: 7.922 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2883, allocations: 0 / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.2885, allocations: 183.2 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.2885, allocations: 81.09 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2885, allocations: 0 / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.2886, allocations: 8 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2887, allocations: 3.984 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.2887, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.2887, allocations: 79.28 kB / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2887, allocations: 0 / 0.9047 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001932/0.2889, allocations: 4 kB / 0.9047 GB, free: 59.14 MB / 0.6042 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.0004198/0.2893, allocations: 0.7085 MB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2895, allocations: 47.89 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2896, allocations: 0 / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.2896, allocations: 24.05 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.29, allocations: 8 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.2912, allocations: 1.256 MB / 0.9067 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.2914, allocations: 0.677 MB / 0.9074 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.701e-05/0.2914, allocations: 8.031 kB / 0.9074 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.2915, allocations: 11.44 kB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2915, allocations: 0 / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.303, allocations: 1.046 MB / 0.9084 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.3032, allocations: 224.2 kB / 0.9087 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.015, allocations: 0 / 0.9087 GB, free: 55.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)