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.IntegerReplicator.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.574/1.574, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.00105/0.00105, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.518/1.518, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007953/0.0007954, allocations: 93.25 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.506e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8002, allocations: 115.3 MB / 0.9645 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/1.056, allocations: 136.9 MB / 1.098 GB, free: 2.797 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.056, allocations: 69.84 kB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003171/1.059, allocations: 0.8124 MB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.015e-06/1.059, allocations: 0 / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.205e-05/1.059, allocations: 7.344 kB / 1.099 GB, free: 1.934 MB / 0.698 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.0005832/1.06, allocations: 348.1 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/1.06, allocations: 9.156 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/1.06, allocations: 14.39 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/1.06, allocations: 171.3 kB / 1.1 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/1.06, allocations: 0 / 1.1 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/1.06, allocations: 0 / 1.1 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001212/1.06, allocations: 31.05 kB / 1.1 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/1.061, allocations: 45.69 kB / 1.1 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.061, allocations: 0.5938 kB / 1.1 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.061, allocations: 0.8438 kB / 1.1 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/1.061, allocations: 0 / 1.1 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/1.061, allocations: 256.2 kB / 1.1 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/1.061, allocations: 30.56 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/1.061, allocations: 20.55 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/1.061, allocations: 0 / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.061, allocations: 32.59 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.061, allocations: 3.938 kB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002336/1.062, allocations: 41.7 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/1.062, allocations: 52.16 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/1.062, allocations: 97.58 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/1.062, allocations: 25.7 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/1.062, allocations: 92.73 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/1.062, allocations: 4.469 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/1.062, allocations: 3.938 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.062, allocations: 320.6 kB / 1.101 GB, free: 204 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/1.062, allocations: 8 kB / 1.101 GB, free: 196 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.449e-05/1.062, allocations: 4 kB / 1.101 GB, free: 192 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/1.062, allocations: 8.594 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.062, allocations: 2.844 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.721e-05/1.062, allocations: 45.69 kB / 1.101 GB, free: 132 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.062, allocations: 4 kB / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.062, allocations: 0 / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.062, allocations: 0 / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/1.063, allocations: 15.98 kB / 1.101 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.063, allocations: 2.062 kB / 1.101 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/1.063, allocations: 11.11 kB / 1.101 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/1.063, allocations: 0 / 1.101 GB, free: 104 kB / 0.698 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 () * 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.0001329/1.063, allocations: 108.9 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001344/1.063, allocations: 49.58 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/1.063, allocations: 3.984 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/1.063, allocations: 16.06 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.063, allocations: 0 / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.063, allocations: 4 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.063, allocations: 0 / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/1.063, allocations: 146.1 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.063, allocations: 0 / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/1.063, allocations: 13.78 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.063, allocations: 8.141 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.063, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.063, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.063, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/1.064, allocations: 143.4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/1.064, allocations: 77.11 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/1.064, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/1.064, allocations: 16.02 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/1.064, allocations: 4.562 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/1.064, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.254e-05/1.064, allocations: 83.28 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.064, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002468/1.064, allocations: 15.92 kB / 1.101 GB, free: 15.35 MB / 0.7136 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 () * 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.0006157/1.065, allocations: 0.6883 MB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001078/1.065, allocations: 19.94 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.065, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/1.065, allocations: 8 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/1.065, allocations: 11.59 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/1.066, allocations: 104.1 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/1.066, allocations: 0.6885 MB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.971e-05/1.066, allocations: 4 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/1.066, allocations: 16.05 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.066, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/1.098, allocations: 0.9019 MB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003961/1.099, allocations: 163.3 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.298, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)