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.00131/0.00131, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001469/0.001469, allocations: 214.3 kB / 23.04 MB, free: 5.074 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.33/3.33, allocations: 0.5003 GB / 0.8062 GB, free: 26.79 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.002073/0.002073, allocations: 62.67 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4148, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002005/0.4168, allocations: 0.6699 MB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.4179, allocations: 0.8748 MB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.418, allocations: 0 / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.4181, allocations: 7.938 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.4182, allocations: 11.94 kB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.4183, allocations: 11.98 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.4184, allocations: 79.75 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.4186, allocations: 15.98 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.4187, allocations: 39.89 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.4188, allocations: 47.83 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.4188, allocations: 4 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.4188, allocations: 8 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.4189, allocations: 19.98 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.4189, allocations: 39.8 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.4191, allocations: 99.55 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4191, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4191, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.4191, allocations: 0 / 1.347 GB, free: 14.57 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.0006589/0.4198, allocations: 322.1 kB / 1.348 GB, free: 14.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4198, allocations: 12.02 kB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.4198, allocations: 4.188 kB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.4199, allocations: 42.75 kB / 1.348 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.4199, allocations: 4.891 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4201, allocations: 138.4 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.4201, allocations: 4.375 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4201, allocations: 12.31 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.4205, allocations: 162.6 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4206, allocations: 0 / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4206, allocations: 8 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4206, allocations: 0 / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.421, allocations: 155.8 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.4216, allocations: 415.8 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.4219, allocations: 117 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.4222, allocations: 77.69 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.4222, allocations: 4 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4222, allocations: 38.5 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4222, allocations: 4 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0007737/0.423, allocations: 225.6 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.423, allocations: 84.98 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.4232, allocations: 125.8 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.4232, allocations: 25.7 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.4232, allocations: 96.03 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.4233, allocations: 16.05 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.4233, allocations: 25.7 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4235, allocations: 318.9 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.4237, allocations: 63.92 kB / 1.35 GB, free: 11.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.4239, allocations: 77.64 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.4243, allocations: 125.6 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4243, allocations: 3.938 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000484/0.4248, allocations: 157.5 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4248, allocations: 4.062 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4248, allocations: 4 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4249, allocations: 3.984 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.4251, allocations: 31.91 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4251, allocations: 7.922 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.4252, allocations: 19.94 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.4252, allocations: 7.984 kB / 1.35 GB, free: 11.45 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.0001144/0.4253, allocations: 126.7 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.4254, allocations: 4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.4254, allocations: 11.62 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4254, allocations: 3.938 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4254, allocations: 3.938 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4254, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.4257, allocations: 168.6 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4257, allocations: 384 / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.4258, allocations: 31.95 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4258, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4258, allocations: 4 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4258, allocations: 11.88 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4258, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.4264, allocations: 330.6 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.4264, allocations: 15.95 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.4264, allocations: 144 / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4266, allocations: 19.91 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.4267, allocations: 23.95 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4267, allocations: 4 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.4267, allocations: 95.27 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002703/0.427, allocations: 12 kB / 1.351 GB, free: 10.53 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.0008845/0.4279, allocations: 0.8678 MB / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.4284, allocations: 139.8 kB / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4284, allocations: 0 / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.4286, allocations: 91.83 kB / 1.352 GB, free: 9.41 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.429, allocations: 16.19 kB / 1.352 GB, free: 9.395 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.4314, allocations: 1.682 MB / 1.354 GB, free: 7.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4318, allocations: 0.7078 MB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.19e-05/0.4318, allocations: 19.98 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.4319, allocations: 27.42 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.4319, allocations: 0 / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.4546, allocations: 2.568 MB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.68, allocations: 14.17 kB / 1.357 GB, free: 4.418 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: 18.861711838981137] Failed to read output from testmodel.py, exit status != 0: 11.852683697012253 11.86986546 11.447299582 Calling exit ...