Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001316/0.001316, 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.001456/0.001456, allocations: 220 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_12_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.002032/0.002032, allocations: 64.2 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3905, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002312/0.3929, allocations: 0.6692 MB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3941, allocations: 0.8594 MB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.3942, allocations: 3.938 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.3943, allocations: 4 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.3944, allocations: 11.94 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.3945, allocations: 19.91 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.3947, allocations: 71.72 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3948, allocations: 15.98 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.3949, allocations: 47.77 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.3951, allocations: 47.83 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.3951, allocations: 8 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.177e-05/0.3951, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.3952, allocations: 19.98 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.3953, allocations: 31.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.3954, allocations: 91.61 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3954, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3954, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.3954, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 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.000771/0.3962, allocations: 326.1 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3963, allocations: 8.031 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.609e-05/0.3963, allocations: 192 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.3963, allocations: 38.75 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.3964, allocations: 12.89 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.3966, allocations: 142.4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.3966, allocations: 8.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3966, allocations: 4.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.3971, allocations: 169.7 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3971, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3971, allocations: 3.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3971, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.3976, allocations: 159.8 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.3982, allocations: 403.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3986, allocations: 117.1 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.3988, allocations: 77.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.3988, allocations: 3.984 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3988, allocations: 34.56 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.3988, allocations: 3.984 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0007674/0.3996, allocations: 221.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3997, allocations: 89.05 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3998, allocations: 129.7 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3998, allocations: 25.7 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.3999, allocations: 96.08 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.4, allocations: 12.05 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.4, allocations: 25.7 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4002, allocations: 318.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.4004, allocations: 63.91 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.4006, allocations: 81.58 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.401, allocations: 129.6 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.401, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000453/0.4014, allocations: 165.4 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4015, allocations: 8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4015, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4015, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.4017, allocations: 27.91 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4017, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.4018, allocations: 20.03 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4018, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 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.0001317/0.4019, allocations: 130.3 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.402, allocations: 7.953 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.402, allocations: 11.62 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.402, allocations: 3.938 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.402, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.402, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.4023, allocations: 164.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4023, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.4025, allocations: 31.91 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4025, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4025, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4025, allocations: 3.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4025, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.403, allocations: 330.6 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.403, allocations: 8 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.4031, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.4032, allocations: 19.91 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.4033, allocations: 23.95 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4033, allocations: 8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.4034, allocations: 103.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4034, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003099/0.4037, allocations: 15.95 kB / 1.332 GB, free: 11.54 MB / 1.029 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.0008881/0.4046, allocations: 0.8562 MB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.4051, allocations: 143.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4051, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.4053, allocations: 84.02 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4057, allocations: 25.58 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.4084, allocations: 1.688 MB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.4085, allocations: 87.31 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.402e-05/0.4085, allocations: 19.98 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.4086, allocations: 23.67 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.4086, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.4323, allocations: 2.629 MB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.88, allocations: 6.5 kB / 1.338 GB, free: 6.012 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.024212124058977] Failed to read output from testmodel.py, exit status != 0: 12.041395897045732 12.069269199 11.668704886 Calling exit ...