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.001781/0.001781, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002427/0.002427, allocations: 219.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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.321/3.321, allocations: 0.49 GB / 0.7959 GB, free: 33.54 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.001981/0.001981, allocations: 63.3 kB / 1.155 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3447, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001852/0.3465, allocations: 0.6404 MB / 1.327 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3481, allocations: 1.151 MB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.3482, allocations: 0 / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3483, allocations: 7.922 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3484, allocations: 7.938 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.3489, allocations: 124.7 kB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.3492, allocations: 183.7 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3493, allocations: 19.97 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3494, allocations: 79.83 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3496, allocations: 71.84 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.3496, allocations: 16 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.3497, allocations: 23.98 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.3498, allocations: 31.91 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3499, allocations: 63.83 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.3502, allocations: 199.4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3502, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.837e-06/0.3502, allocations: 3.984 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3502, allocations: 4 kB / 1.329 GB, free: 15.33 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.0006376/0.3508, allocations: 373.5 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3509, allocations: 12.03 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.948e-05/0.3509, allocations: 4.188 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.3509, allocations: 34.75 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.351, allocations: 20.83 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3513, allocations: 166.3 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3513, allocations: 8.375 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.3513, allocations: 12.38 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3515, allocations: 111.6 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3515, allocations: 3.938 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3515, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3515, allocations: 4 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.3516, allocations: 35.97 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.3522, allocations: 475.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.3523, allocations: 53.14 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.3524, allocations: 25.77 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.3524, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3525, allocations: 121 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.3525, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003032/0.3528, allocations: 129.6 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3529, allocations: 81.09 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.353, allocations: 145.7 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.3531, allocations: 29.7 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.3531, allocations: 92.09 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3532, allocations: 27.83 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.3533, allocations: 57.67 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3534, allocations: 314.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.3537, allocations: 123.9 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3539, allocations: 161 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.3542, allocations: 220.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3542, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006295/0.3548, allocations: 388.7 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/0.3549, allocations: 67.58 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3549, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3549, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-05/0.3549, allocations: 3.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3549, allocations: 7.938 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.3553, allocations: 63.91 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3554, allocations: 15.98 kB / 1.332 GB, free: 11.69 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.0001403/0.3555, allocations: 134.4 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3555, allocations: 3.953 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.3556, allocations: 12 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3556, allocations: 0 / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3556, allocations: 11.88 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3556, allocations: 4 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3557, allocations: 152.7 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3557, allocations: 7.984 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.3557, allocations: 3.938 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3558, allocations: 4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3558, allocations: 4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3558, allocations: 3.938 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3558, allocations: 3.938 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.3559, allocations: 133.9 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.356, allocations: 7.953 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.356, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.356, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.356, allocations: 11.92 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.356, allocations: 8 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.024e-05/0.3561, allocations: 95.27 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3561, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002644/0.3564, allocations: 43.92 kB / 1.333 GB, free: 10.96 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.000526/0.3569, allocations: 0.6757 MB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.3574, allocations: 294.6 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3574, allocations: 0 / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.823e-05/0.3574, allocations: 31.91 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.3577, allocations: 29.98 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.3604, allocations: 2.183 MB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3608, allocations: 0.6963 MB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.3608, allocations: 7.984 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.3608, allocations: 19.44 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.3609, allocations: 0 / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.386, allocations: 3.649 MB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 10.08 kB / 1.34 GB, free: 3.348 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.853958357998636] Failed to read output from testmodel.py, exit status != 0: 11.969101554015651 11.986698456 11.633301824 Calling exit ...