Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001806/0.001806, 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.002395/0.002395, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.BooleanVectorReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_12_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.002023/0.002023, allocations: 68.33 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.357, allocations: 176.1 MB / 1.327 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001981/0.3589, allocations: 0.631 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3607, allocations: 1.128 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.3607, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3608, allocations: 3.938 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.5e-05/0.3609, allocations: 15.91 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.3615, allocations: 138 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.3618, allocations: 179.8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3619, allocations: 15.98 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.362, allocations: 79.83 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3622, allocations: 71.84 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.3622, allocations: 16 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.3623, allocations: 23.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.3624, allocations: 31.91 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3625, allocations: 59.84 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.3628, allocations: 195.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3628, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3628, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.3628, allocations: 0 / 1.329 GB, free: 14.98 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007504/0.3636, allocations: 373.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3636, allocations: 15.97 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.339e-05/0.3636, allocations: 4.125 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.3637, allocations: 42.73 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.3637, allocations: 12.89 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.364, allocations: 162.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.3641, allocations: 8.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3641, allocations: 16.36 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3643, allocations: 115.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3643, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3643, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3643, allocations: 0 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.3644, allocations: 39.97 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.365, allocations: 440 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.3651, allocations: 49.14 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.3651, allocations: 33.75 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.3651, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.3653, allocations: 113 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3653, allocations: 3.938 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003068/0.3656, allocations: 129.6 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.3657, allocations: 85.05 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3658, allocations: 141.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.3659, allocations: 33.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.366, allocations: 100.1 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.366, allocations: 15.89 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3661, allocations: 49.69 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.3663, allocations: 322.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.3665, allocations: 195.3 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.3669, allocations: 232.4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.3672, allocations: 216.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3672, allocations: 8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009042/0.3681, allocations: 452.1 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.3682, allocations: 63.59 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3682, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3682, allocations: 4 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.3682, allocations: 7.922 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3682, allocations: 7.938 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.3686, allocations: 59.92 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.3687, allocations: 16.36 kB / 1.333 GB, free: 11.13 MB / 1.029 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.0001548/0.3688, allocations: 138.4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.3688, allocations: 7.953 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.3689, allocations: 11.97 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3689, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.3689, allocations: 7.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3689, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.369, allocations: 152.7 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.369, allocations: 3.938 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.3691, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3691, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3691, allocations: 11.92 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3691, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3691, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.3693, allocations: 133.9 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.3693, allocations: 7.938 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3693, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.3693, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3694, allocations: 19.86 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3694, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.199e-05/0.3695, allocations: 99.27 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3695, allocations: 3.938 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002603/0.3697, allocations: 39.94 kB / 1.333 GB, free: 10.41 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: 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.0005315/0.3702, allocations: 0.6766 MB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.3708, allocations: 366 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3708, allocations: 4 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.3708, allocations: 31.97 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.3711, allocations: 24.28 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.374, allocations: 2.447 MB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.482e-05/0.3741, allocations: 79.33 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.3741, allocations: 11.98 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3741, allocations: 15.44 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3741, allocations: 4 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.4035, allocations: 3.836 MB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 6.812 kB / 1.34 GB, free: 2.852 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.876445565954782] Failed to read output from testmodel.py, exit status != 0: 12.143934951047413 12.160671612 11.794680105 Calling exit ...