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.452/1.452, allocations: 251.9 MB / 266.9 MB, free: 11 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.001136/0.001136, allocations: 183.7 kB / 326.5 MB, free: 2.242 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.923/1.923, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009871/0.0009872, allocations: 103.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003375, allocations: 11.55 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2706, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.4702, allocations: 131.6 MB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.4706, allocations: 75.95 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002815/0.4735, allocations: 0.8367 MB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.867e-06/0.4735, allocations: 4 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.4735, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 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.0005205/0.4741, allocations: 359.2 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.4742, allocations: 8.031 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/0.4742, allocations: 38.56 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.4743, allocations: 3.906 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.4745, allocations: 175 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.4745, allocations: 0 / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.4746, allocations: 8 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4748, allocations: 77.58 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4748, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4749, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4749, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.4751, allocations: 55.95 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.4756, allocations: 272.8 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.4757, allocations: 54.48 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4757, allocations: 3.938 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4758, allocations: 38.62 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.4758, allocations: 0 / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000446/0.4762, allocations: 105.6 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4763, allocations: 59.3 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.4764, allocations: 93 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4764, allocations: 29.83 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.4765, allocations: 92.03 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.4765, allocations: 0 / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.4765, allocations: 4 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4767, allocations: 310.8 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.4768, allocations: 23.98 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.4769, allocations: 27.97 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.477, allocations: 27.92 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.477, allocations: 0 / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002609/0.4772, allocations: 81.62 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.4773, allocations: 10.81 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.4773, allocations: 0 / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4773, allocations: 0 / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.4774, allocations: 15.92 kB / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4775, allocations: 0 / 1.031 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/0.4775, allocations: 19.97 kB / 1.031 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4775, allocations: 0 / 1.031 GB, free: 8.984 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.4777, allocations: 113.8 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.4777, allocations: 3.938 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.4778, allocations: 11.11 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4778, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.4778, allocations: 4 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4778, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.478, allocations: 173.5 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.478, allocations: 0 / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.4781, allocations: 12.23 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4781, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4781, allocations: 4 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4781, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4781, allocations: 0 / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.4784, allocations: 183.4 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.4785, allocations: 85.02 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4785, allocations: 0 / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.4786, allocations: 11.97 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.4787, allocations: 16.02 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4787, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.63e-05/0.4788, allocations: 79.28 kB / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4788, allocations: 0 / 1.032 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002302/0.479, allocations: 12 kB / 1.032 GB, free: 8.195 MB / 0.6823 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 (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.0007017/0.4797, allocations: 0.717 MB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.48, allocations: 55.92 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.48, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4801, allocations: 27.98 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.4803, allocations: 11.11 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4813, allocations: 446.5 kB / 1.033 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4817, allocations: 0.6887 MB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.782e-05/0.4818, allocations: 4 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.4818, allocations: 15.44 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.4818, allocations: 0 / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.4952, allocations: 1.215 MB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.4955, allocations: 203.4 kB / 1.035 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.214, allocations: 0 / 1.035 GB, free: 4.859 MB / 0.6823 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)