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.001337/0.001337, allocations: 116.8 kB / 17.17 MB, free: 6 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.001441/0.001441, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.589/1.589, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.923/2.923, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 GB " [Timeout remaining time 176] 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.002706/0.002706, allocations: 67.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001842/1.057, allocations: 0.6323 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001553/1.059, allocations: 1.161 MB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/1.059, allocations: 3.938 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/1.059, allocations: 7.031 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/1.059, allocations: 5.734 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/1.06, allocations: 121.3 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/1.06, allocations: 191 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/1.06, allocations: 15.98 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/1.06, allocations: 79.14 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/1.06, allocations: 71.98 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/1.06, allocations: 15.75 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/1.06, allocations: 24.72 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/1.06, allocations: 28.62 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/1.06, allocations: 66.47 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003276/1.061, allocations: 201 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.061, allocations: 4 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/1.061, allocations: 0.5 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.061, allocations: 0.5312 kB / 1.281 GB, free: 10.18 MB / 0.9981 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.0006854/1.062, allocations: 456.8 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.062, allocations: 9.656 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.433e-05/1.062, allocations: 1.719 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/1.062, allocations: 38.41 kB / 1.282 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/1.062, allocations: 18.06 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/1.062, allocations: 216.8 kB / 1.282 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/1.062, allocations: 10.55 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/1.062, allocations: 11.39 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/1.062, allocations: 104.8 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.062, allocations: 1.375 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.062, allocations: 0.6562 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.062, allocations: 1.375 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/1.062, allocations: 43.61 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/1.063, allocations: 492.7 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/1.063, allocations: 52.47 kB / 1.283 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/1.063, allocations: 28.14 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/1.063, allocations: 5.859 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/1.063, allocations: 122.6 kB / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/1.063, allocations: 0 / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.000308/1.064, allocations: 133.5 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/1.064, allocations: 80.56 kB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/1.064, allocations: 143.8 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/1.064, allocations: 34.36 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/1.064, allocations: 100.9 kB / 1.284 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.064, allocations: 15.06 kB / 1.284 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/1.064, allocations: 54.97 kB / 1.284 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.064, allocations: 318.9 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/1.064, allocations: 121 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/1.065, allocations: 163 kB / 1.284 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/1.065, allocations: 221.3 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.065, allocations: 0 / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006276/1.066, allocations: 396.4 kB / 1.285 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/1.066, allocations: 63.81 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.066, allocations: 1.375 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.066, allocations: 2.344 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.021e-05/1.066, allocations: 3.375 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.066, allocations: 6.016 kB / 1.285 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/1.066, allocations: 70.69 kB / 1.285 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/1.066, allocations: 12.94 kB / 1.285 GB, free: 7.539 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.0001361/1.066, allocations: 134.6 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/1.066, allocations: 16.33 kB / 1.285 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/1.066, allocations: 7.438 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.066, allocations: 1 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.066, allocations: 5.156 kB / 1.285 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.066, allocations: 0.7031 kB / 1.285 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/1.067, allocations: 193.5 kB / 1.285 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.067, allocations: 3.938 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/1.067, allocations: 1.906 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.067, allocations: 1.531 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/1.067, allocations: 2.031 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.067, allocations: 1.75 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.067, allocations: 5.062 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/1.067, allocations: 136.5 kB / 1.285 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/1.067, allocations: 84.02 kB / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/1.067, allocations: 1.75 kB / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/1.067, allocations: 5.938 kB / 1.285 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/1.067, allocations: 8.188 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/1.067, allocations: 8.047 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.943e-05/1.067, allocations: 97.27 kB / 1.286 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.067, allocations: 0 / 1.286 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002772/1.067, allocations: 40 kB / 1.286 GB, free: 6.883 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.0005282/1.068, allocations: 0.6799 MB / 1.286 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004776/1.068, allocations: 296.4 kB / 1.287 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.068, allocations: 1.094 kB / 1.287 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/1.068, allocations: 27.86 kB / 1.287 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/1.069, allocations: 32.12 kB / 1.287 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/1.071, allocations: 2.163 MB / 1.289 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.072, allocations: 0.7045 MB / 1.289 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.955e-05/1.072, allocations: 7.078 kB / 1.289 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/1.072, allocations: 24.72 kB / 1.289 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.072, allocations: 0 / 1.289 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/1.092, allocations: 3.544 MB / 1.293 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/9.578, allocations: 16.42 kB / 1.293 GB, free: 3.289 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.047915465023834] Failed to read output from testmodel.py, exit status != 0: 9.707210123015102 9.722879682 8.658733778 Calling exit ...