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.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",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.623/1.623, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009861/0.0009862, allocations: 182.8 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0008293/0.0008292, allocations: 91.8 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004396, allocations: 8.812 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, 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.IntegerReplicator): time 0.001966/0.2929, allocations: 1.081 MB / 0.902 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004901/0.2935, allocations: 144.5 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.2936, allocations: 7.938 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2937, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.2937, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.2939, allocations: 27.91 kB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.294, allocations: 23.98 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2942, allocations: 4 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.2942, allocations: 19.86 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.2943, allocations: 23.92 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2943, allocations: 0 / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.2944, allocations: 0 / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.2945, allocations: 7.984 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.2945, allocations: 45.56 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.2946, allocations: 31.88 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2946, allocations: 0 / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2946, allocations: 0 / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2946, allocations: 0 / 0.9023 GB, free: 61.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004518/0.2951, allocations: 343.9 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2952, allocations: 8.031 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.2952, allocations: 30.75 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.2953, allocations: 8.844 kB / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2954, allocations: 176.3 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.2954, allocations: 384 / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.2955, allocations: 8.312 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.2957, allocations: 78.14 kB / 0.9029 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2957, allocations: 3.938 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2957, allocations: 8 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2958, allocations: 0 / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.296, allocations: 51.95 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.2964, allocations: 280.7 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.2966, allocations: 46.5 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.2967, allocations: 36.89 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.2967, allocations: 0 / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2967, allocations: 30.56 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2968, allocations: 0 / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004237/0.2972, allocations: 105.6 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.2972, allocations: 55.41 kB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.2973, allocations: 106 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2974, allocations: 25.83 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.2974, allocations: 96.05 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2974, allocations: 3.906 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.2975, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.2975, allocations: 322.8 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.2977, allocations: 19.98 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.2977, allocations: 27.98 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.2979, allocations: 52.81 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2979, allocations: 0 / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002312/0.2982, allocations: 85.66 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2982, allocations: 8 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2982, allocations: 64 / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2982, allocations: 4 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2984, allocations: 16.02 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2984, allocations: 0 / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.2985, allocations: 11.98 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.2985, allocations: 0 / 0.9043 GB, free: 59.73 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: 1 (intRep.y[3]) * 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 0.0001519/0.2987, allocations: 113.8 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.2987, allocations: 4 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2988, allocations: 7.109 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2988, allocations: 0 / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2988, allocations: 4 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2988, allocations: 4 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.299, allocations: 173.5 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.299, allocations: 0 / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.2991, allocations: 8 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.2991, allocations: 3.984 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2991, allocations: 7.875 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2991, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2991, allocations: 3.984 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.2994, allocations: 191.3 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.2994, allocations: 77.11 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.2994, allocations: 4 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.2995, allocations: 12.02 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.2996, allocations: 7.984 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2996, allocations: 0 / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.765e-05/0.2996, allocations: 83.28 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2996, allocations: 0 / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002023/0.2998, allocations: 4 kB / 0.9049 GB, free: 58.94 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: 1 (intRep.y[3]) * 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.000473/0.3003, allocations: 0.7163 MB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.3006, allocations: 55.98 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3006, allocations: 0 / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.3007, allocations: 23.98 kB / 0.9057 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3009, allocations: 8.125 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3022, allocations: 1.295 MB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.3023, allocations: 0.6809 MB / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.3025, allocations: 8.016 kB / 0.9077 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.3025, allocations: 19.38 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.3025, allocations: 0 / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.3148, allocations: 1.241 MB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/0.3152, allocations: 233.2 kB / 0.9091 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.095, allocations: 0 / 0.9091 GB, free: 54.67 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)