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.001299/0.001299, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001405/0.001405, allocations: 218.5 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 8 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.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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.002056/0.002056, allocations: 64.44 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002024/0.3713, allocations: 0.6807 MB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3724, allocations: 0.8709 MB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.3724, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.3725, allocations: 3.938 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.3726, allocations: 7.984 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.3728, allocations: 31.84 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.3729, allocations: 71.83 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3731, allocations: 15.98 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.3732, allocations: 47.83 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3733, allocations: 35.84 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3733, allocations: 8 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.3733, allocations: 4 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.3734, allocations: 27.97 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.3735, allocations: 35.8 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3736, allocations: 91.61 kB / 1.329 GB, free: 68 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3736, allocations: 4 kB / 1.329 GB, free: 64 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3737, allocations: 4 kB / 1.329 GB, free: 60 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3737, allocations: 0 / 1.329 GB, free: 60 kB / 1.014 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.0008038/0.3745, allocations: 318.1 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.3745, allocations: 15.97 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.983e-05/0.3745, allocations: 4.188 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.3746, allocations: 38.75 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.3746, allocations: 8.891 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3749, allocations: 138.4 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.3749, allocations: 4.375 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3749, allocations: 8.375 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.3753, allocations: 160.4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3753, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3754, allocations: 4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3754, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.3758, allocations: 151.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.3765, allocations: 423.8 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.3768, allocations: 117.1 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.377, allocations: 73.69 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.377, allocations: 4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3771, allocations: 34.56 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 4.809e-06/0.3771, allocations: 3.984 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0008356/0.3779, allocations: 225.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.378, allocations: 89.3 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3781, allocations: 133.7 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3781, allocations: 25.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.3782, allocations: 92.09 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3782, allocations: 15.84 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.3783, allocations: 25.7 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3784, allocations: 318.8 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.3786, allocations: 67.92 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3789, allocations: 73.64 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.3793, allocations: 133.6 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3793, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004741/0.3797, allocations: 157.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3797, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3798, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3798, allocations: 3.984 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.38, allocations: 27.97 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.38, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3801, allocations: 15.98 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3801, allocations: 7.969 kB / 1.331 GB, free: 12.95 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.0001334/0.3802, allocations: 126.4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.3803, allocations: 11.89 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.3803, allocations: 11.56 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3803, allocations: 7.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3803, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3803, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.3806, allocations: 172.8 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3806, allocations: 0 / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3807, allocations: 23.95 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3807, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3807, allocations: 4 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.3808, allocations: 3.938 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3808, allocations: 0 / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.3813, allocations: 334.6 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.3814, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3814, allocations: 7.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3815, allocations: 23.91 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.3816, allocations: 24.34 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3816, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.3817, allocations: 99.2 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3817, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002768/0.382, allocations: 19.95 kB / 1.332 GB, free: 12.01 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.0008573/0.3828, allocations: 0.8601 MB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.3833, allocations: 139.8 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3833, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.3836, allocations: 91.83 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.3839, allocations: 11.53 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3863, allocations: 1.689 MB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3867, allocations: 0.7041 MB / 1.336 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.373e-05/0.3867, allocations: 16.22 kB / 1.336 GB, free: 8.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.3868, allocations: 23.42 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3868, allocations: 4 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.409, allocations: 2.569 MB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 8.344 kB / 1.338 GB, free: 5.926 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: 18.768762480001897] Failed to read output from testmodel.py, exit status != 0: 11.757925604993943 11.775405513 11.398411446 Calling exit ...