Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001509/0.001509, 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.001854/0.001854, allocations: 217.6 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7715 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BooleanVectorReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_11_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.002025/0.002025, allocations: 70.88 kB / 1.118 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3649, allocations: 169.9 MB / 1.284 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001868/0.3668, allocations: 0.6298 MB / 1.285 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3684, allocations: 1.161 MB / 1.286 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.3684, allocations: 0 / 1.286 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.3686, allocations: 7.922 kB / 1.286 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.3687, allocations: 7.938 kB / 1.286 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.3691, allocations: 125.8 kB / 1.286 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3694, allocations: 183.7 kB / 1.286 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3695, allocations: 19.92 kB / 1.286 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.3696, allocations: 87.81 kB / 1.286 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3698, allocations: 63.84 kB / 1.286 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.3698, allocations: 16 kB / 1.286 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.3699, allocations: 31.98 kB / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.37, allocations: 23.92 kB / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3701, allocations: 71.81 kB / 1.286 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.3704, allocations: 203.4 kB / 1.287 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3704, allocations: 0 / 1.287 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3704, allocations: 0 / 1.287 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3704, allocations: 0 / 1.287 GB, free: 1.242 MB / 0.9825 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.0006287/0.371, allocations: 377.5 kB / 1.287 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3711, allocations: 12.03 kB / 1.287 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.739e-05/0.3711, allocations: 4.125 kB / 1.287 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.3711, allocations: 38.75 kB / 1.287 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.3712, allocations: 16.83 kB / 1.287 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3715, allocations: 166.4 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3715, allocations: 4.375 kB / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.3715, allocations: 16.38 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3717, allocations: 99.61 kB / 1.287 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3717, allocations: 0 / 1.287 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3717, allocations: 7.984 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3717, allocations: 4 kB / 1.287 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.3718, allocations: 35.97 kB / 1.287 GB, free: 396 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.3724, allocations: 467.9 kB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.3725, allocations: 53.14 kB / 1.288 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.3725, allocations: 25.77 kB / 1.288 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3725, allocations: 4 kB / 1.288 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.3727, allocations: 113 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3727, allocations: 0 / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002924/0.373, allocations: 129.5 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.3731, allocations: 96.97 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3732, allocations: 145.6 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.3732, allocations: 33.7 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.3733, allocations: 100.1 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3733, allocations: 19.83 kB / 1.289 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3735, allocations: 53.69 kB / 1.289 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3736, allocations: 314.8 kB / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3738, allocations: 123.9 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.374, allocations: 165 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3743, allocations: 220.8 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3743, allocations: 0 / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006119/0.3749, allocations: 384.7 kB / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.375, allocations: 71.39 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.375, allocations: 4 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.375, allocations: 4 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.189e-05/0.3751, allocations: 3.938 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3751, allocations: 7.938 kB / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.3754, allocations: 64.09 kB / 1.29 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.3755, allocations: 19.98 kB / 1.29 GB, free: 13.59 MB / 0.9981 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.00015/0.3756, allocations: 129.8 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.3757, allocations: 11.89 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.3757, allocations: 8 kB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3757, allocations: 0 / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.3757, allocations: 7.938 kB / 1.29 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3757, allocations: 0 / 1.29 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3759, allocations: 164.7 kB / 1.29 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3759, allocations: 0 / 1.29 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.3759, allocations: 7.922 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3759, allocations: 0 / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3759, allocations: 4 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3759, allocations: 3.938 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3759, allocations: 3.938 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.3761, allocations: 137.9 kB / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.3761, allocations: 4 kB / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3761, allocations: 0 / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.3761, allocations: 0 / 1.29 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.3762, allocations: 11.92 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3762, allocations: 7.938 kB / 1.29 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.683e-05/0.3762, allocations: 99.27 kB / 1.291 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3762, allocations: 0 / 1.291 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002512/0.3765, allocations: 43.88 kB / 1.291 GB, free: 12.88 MB / 0.9981 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.0005106/0.377, allocations: 0.6718 MB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.3774, allocations: 298.6 kB / 1.292 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3774, allocations: 0 / 1.292 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.896e-05/0.3775, allocations: 40.28 kB / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3778, allocations: 24.05 kB / 1.292 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.3805, allocations: 2.176 MB / 1.294 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3808, allocations: 0.704 MB / 1.294 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.3809, allocations: 7.984 kB / 1.294 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.3809, allocations: 23.62 kB / 1.294 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3809, allocations: 0 / 1.294 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.4057, allocations: 3.625 MB / 1.298 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.71, allocations: 13.25 kB / 1.298 GB, free: 5.27 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.437557206954807] Failed to read output from testmodel.py, exit status != 0: 11.870497354015242 11.894786157 11.519720375 Calling exit ...