Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001711/0.001711, 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.002168/0.002168, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.4/3.4, allocations: 0.5003 GB / 0.8062 GB, free: 28.36 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.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.002109/0.002109, allocations: 67.05 kB / 1.17 GB, free: 19.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001986/0.358, allocations: 0.6142 MB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3598, allocations: 1.14 MB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.3598, allocations: 7.938 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.702e-05/0.3599, allocations: 0 / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.198e-05/0.36, allocations: 7.938 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.3604, allocations: 122.2 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.3607, allocations: 191.7 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3608, allocations: 12 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3609, allocations: 79.88 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3611, allocations: 71.78 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.3612, allocations: 20 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.3613, allocations: 27.98 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.3613, allocations: 19.98 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3615, allocations: 67.81 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.3618, allocations: 199.4 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3618, allocations: 3.938 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3618, allocations: 0 / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3618, allocations: 0 / 1.348 GB, free: 13.39 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007281/0.3625, allocations: 381.4 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3625, allocations: 12.03 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.694e-05/0.3626, allocations: 192 / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3626, allocations: 42.75 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.3627, allocations: 8.938 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3629, allocations: 162.4 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3629, allocations: 8.375 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.363, allocations: 12.38 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3632, allocations: 103.6 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3632, allocations: 3.938 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3632, allocations: 7.984 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3632, allocations: 0 / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.3633, allocations: 39.97 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.3639, allocations: 432 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.364, allocations: 57.12 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.364, allocations: 25.77 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.3641, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.3642, allocations: 120.9 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3642, allocations: 0 / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003012/0.3645, allocations: 137.8 kB / 1.349 GB, free: 11.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.3646, allocations: 81.11 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3647, allocations: 149.6 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.3648, allocations: 33.7 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.3649, allocations: 100.1 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.3649, allocations: 19.89 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.365, allocations: 49.69 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3651, allocations: 318.8 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.3654, allocations: 187.3 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.3657, allocations: 232.4 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.366, allocations: 228.3 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.366, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007164/0.3667, allocations: 448.1 kB / 1.351 GB, free: 9.723 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.3668, allocations: 71.39 kB / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3668, allocations: 0 / 1.351 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3668, allocations: 4 kB / 1.351 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-05/0.3668, allocations: 0 / 1.351 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3668, allocations: 7.938 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.3672, allocations: 64.09 kB / 1.351 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.3673, allocations: 16 kB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001736/0.3675, allocations: 137.8 kB / 1.351 GB, free: 9.406 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.3675, allocations: 7.953 kB / 1.351 GB, free: 9.398 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.3675, allocations: 12 kB / 1.351 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3675, allocations: 0 / 1.351 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3675, allocations: 7.938 kB / 1.351 GB, free: 9.371 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3675, allocations: 4 kB / 1.351 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3677, allocations: 160.7 kB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3677, allocations: 0 / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-06/0.3677, allocations: 0 / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3677, allocations: 0 / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3677, allocations: 4 kB / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3677, allocations: 0 / 1.352 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3677, allocations: 11.81 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3679, allocations: 137.8 kB / 1.352 GB, free: 8.996 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.368, allocations: 7.953 kB / 1.352 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.368, allocations: 4 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.368, allocations: 4 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.368, allocations: 11.92 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.368, allocations: 0 / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.3681, allocations: 107.2 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3681, allocations: 0 / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002634/0.3684, allocations: 35.94 kB / 1.352 GB, free: 8.828 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: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005462/0.3689, allocations: 0.6796 MB / 1.352 GB, free: 8.117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.3694, allocations: 362.3 kB / 1.353 GB, free: 7.727 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3694, allocations: 4.062 kB / 1.353 GB, free: 7.723 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.3695, allocations: 31.97 kB / 1.353 GB, free: 7.691 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3698, allocations: 19.92 kB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.3727, allocations: 2.448 MB / 1.355 GB, free: 5.039 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.827e-05/0.3728, allocations: 91.06 kB / 1.355 GB, free: 4.93 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.3729, allocations: 15.72 kB / 1.355 GB, free: 4.914 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.3729, allocations: 23.42 kB / 1.355 GB, free: 4.895 MB / 1.045 GB Notification: Performance of SimCode: time 6.92e-07/0.3729, allocations: 0 / 1.355 GB, free: 4.895 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.3998, allocations: 3.831 MB / 1.359 GB, free: 1.246 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.06, allocations: 5.781 kB / 1.359 GB, free: 1.242 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.12661268899683] Failed to read output from testmodel.py, exit status != 0: 12.225077491020784 12.245138009 11.879663502 Calling exit ...