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.001681/0.001681, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001926/0.001926, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.098/3.098, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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.002879/0.002879, allocations: 67.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192/1.195, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001753/1.197, allocations: 0.631 MB / 1.322 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001152/1.198, allocations: 1.156 MB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/1.198, allocations: 0 / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/1.198, allocations: 7.219 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/1.198, allocations: 10.72 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/1.199, allocations: 126.9 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/1.199, allocations: 184.5 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/1.199, allocations: 15.81 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/1.199, allocations: 78.36 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/1.199, allocations: 76.91 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/1.199, allocations: 18.56 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/1.199, allocations: 29.98 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/1.199, allocations: 30.95 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/1.2, allocations: 70.75 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/1.2, allocations: 193.9 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.2, allocations: 0 / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/1.2, allocations: 0 / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.99e-06/1.2, allocations: 3.375 kB / 1.324 GB, free: 23.21 MB / 1.061 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.0005331/1.2, allocations: 454.1 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.2, allocations: 15.2 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/1.2, allocations: 192 / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.161e-05/1.2, allocations: 41.59 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/1.2, allocations: 15.83 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/1.201, allocations: 216.1 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/1.201, allocations: 6.219 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/1.201, allocations: 15.94 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.201, allocations: 99.06 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.201, allocations: 2.906 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.201, allocations: 11.88 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.201, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.202e-05/1.201, allocations: 41.48 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/1.201, allocations: 494.1 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.116e-05/1.201, allocations: 47 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/1.201, allocations: 38.5 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/1.201, allocations: 0 / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/1.202, allocations: 119.9 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/1.202, allocations: 0 / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002606/1.202, allocations: 130.7 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.202, allocations: 88.48 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/1.202, allocations: 134.1 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.202, allocations: 34.89 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/1.202, allocations: 101 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/1.202, allocations: 14.75 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/1.202, allocations: 54.88 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/1.202, allocations: 320.7 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/1.202, allocations: 127.1 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.203, allocations: 164.2 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/1.203, allocations: 215.5 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.203, allocations: 7 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005248/1.203, allocations: 382 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/1.203, allocations: 65.28 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.203, allocations: 5.328 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.203, allocations: 2.062 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.119e-05/1.203, allocations: 6.25 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.203, allocations: 6.094 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/1.204, allocations: 65.47 kB / 1.327 GB, free: 20.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/1.204, allocations: 16.67 kB / 1.327 GB, free: 20.57 MB / 1.061 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 9.964e-05/1.204, allocations: 135.4 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/1.204, allocations: 11.11 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/1.204, allocations: 10.91 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/1.204, allocations: 0.7188 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.204, allocations: 8.844 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.204, allocations: 4.234 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/1.204, allocations: 186.2 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.204, allocations: 1.125 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-06/1.204, allocations: 1.031 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.204, allocations: 1.438 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.204, allocations: 4.391 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.204, allocations: 5.281 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.204, allocations: 4.812 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/1.204, allocations: 134.5 kB / 1.328 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/1.204, allocations: 83.25 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/1.204, allocations: 9.078 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/1.204, allocations: 0.625 kB / 1.328 GB, free: 20.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/1.204, allocations: 10.83 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/1.204, allocations: 2.469 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.814e-05/1.204, allocations: 99.52 kB / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.204, allocations: 0 / 1.328 GB, free: 19.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002639/1.205, allocations: 38.94 kB / 1.328 GB, free: 19.92 MB / 1.061 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.0003662/1.205, allocations: 0.6741 MB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004298/1.206, allocations: 297 kB / 1.329 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.206, allocations: 4.594 kB / 1.329 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/1.206, allocations: 39.72 kB / 1.329 GB, free: 19.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/1.206, allocations: 20.8 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/1.208, allocations: 2.164 MB / 1.331 GB, free: 17.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/1.208, allocations: 0.7071 MB / 1.332 GB, free: 16.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.388e-05/1.208, allocations: 6.625 kB / 1.332 GB, free: 16.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/1.208, allocations: 22.05 kB / 1.332 GB, free: 16.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.208, allocations: 0 / 1.332 GB, free: 16.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/1.23, allocations: 3.54 MB / 1.335 GB, free: 16.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/9.698, allocations: 10.94 kB / 1.335 GB, free: 16.34 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.429574303037953] Failed to read output from testmodel.py, exit status != 0: 9.824244161020033 9.839719451 8.636683192 Calling exit ...