Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 219.8 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 60.72 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0022/0.4023, allocations: 0.6648 MB / 1.346 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.4037, allocations: 0.8592 MB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.4038, allocations: 0 / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.4039, allocations: 7.922 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.404, allocations: 7.984 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.4042, allocations: 19.92 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.4043, allocations: 75.81 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4045, allocations: 19.98 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.4045, allocations: 35.86 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4047, allocations: 47.81 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.4047, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.4047, allocations: 12 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.4048, allocations: 19.98 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.4048, allocations: 31.84 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.405, allocations: 95.61 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.405, allocations: 4 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.405, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.405, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006748/0.4057, allocations: 318.1 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4057, allocations: 15.97 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.4057, allocations: 4.188 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.4058, allocations: 42.73 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.4058, allocations: 8.891 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.406, allocations: 138.4 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.406, allocations: 4.375 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.406, allocations: 8.375 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.4064, allocations: 159.5 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4065, allocations: 4 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4065, allocations: 4 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4065, allocations: 4 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.407, allocations: 151.8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.4076, allocations: 407.9 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.4079, allocations: 117.1 kB / 1.348 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.4082, allocations: 77.7 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.4082, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4082, allocations: 38.5 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.4082, allocations: 0 / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0007886/0.409, allocations: 229.4 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.4091, allocations: 81.05 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4092, allocations: 125.8 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.4092, allocations: 29.7 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.4093, allocations: 96.08 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.4093, allocations: 11.84 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.4094, allocations: 25.7 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4095, allocations: 318.8 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.4098, allocations: 64.08 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.41, allocations: 77.62 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.4104, allocations: 125.6 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4104, allocations: 4 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000487/0.4109, allocations: 169.4 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4109, allocations: 8 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4109, allocations: 0 / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4109, allocations: 0 / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.4111, allocations: 27.91 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4111, allocations: 4.062 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.4112, allocations: 15.97 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4112, allocations: 0 / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001222/0.4114, allocations: 125.8 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.4114, allocations: 4 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.4114, allocations: 15.55 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4115, allocations: 7.938 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4115, allocations: 0 / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4115, allocations: 0 / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.4117, allocations: 164.7 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4117, allocations: 4 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.4119, allocations: 27.95 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4119, allocations: 0 / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4119, allocations: 4.375 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4119, allocations: 3.938 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4119, allocations: 0 / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.4125, allocations: 334.6 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.4125, allocations: 16.03 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.4125, allocations: 3.938 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.4127, allocations: 23.89 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.4128, allocations: 19.97 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4128, allocations: 4 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.217e-05/0.4129, allocations: 99.25 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4129, allocations: 0 / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002852/0.4131, allocations: 12 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0009381/0.4141, allocations: 0.864 MB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004908/0.4146, allocations: 139.8 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4146, allocations: 0 / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.4148, allocations: 91.83 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.4152, allocations: 11.94 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.4178, allocations: 1.691 MB / 1.353 GB, free: 7.113 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.899e-05/0.4179, allocations: 91.06 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.119e-05/0.4179, allocations: 23.98 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.418, allocations: 23.42 kB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of SimCode: time 7.32e-07/0.418, allocations: 0 / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.4417, allocations: 2.628 MB / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.87, allocations: 11.56 kB / 1.356 GB, free: 4.48 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.187439489993267] Failed to read output from testmodel.py, exit status != 0: 12.02567576605361 12.04281124 11.634530708 Calling exit ...