Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001718/0.001718, allocations: 113.8 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.002257/0.002257, 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.806/2.806, allocations: 476.7 MB / 0.7715 GB, free: 4.293 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.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.002111/0.002111, allocations: 66.7 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 170 MB / 1.284 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002048/0.3709, allocations: 0.6254 MB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3726, allocations: 1.153 MB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.3726, allocations: 4 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.3727, allocations: 3.938 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.3727, allocations: 15.8 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.3733, allocations: 120.4 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3734, allocations: 87.83 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.3735, allocations: 4 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.3736, allocations: 39.95 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3737, allocations: 27.91 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3737, allocations: 8 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.3738, allocations: 27.98 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.3739, allocations: 19.91 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.3739, allocations: 23.92 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.3741, allocations: 91.78 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3741, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3741, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.3741, allocations: 0 / 1.286 GB, free: 9.426 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004838/0.3746, allocations: 309.7 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3746, allocations: 12.03 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.3746, allocations: 12.17 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.3747, allocations: 34.73 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3747, allocations: 8.891 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.3749, allocations: 118.5 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3749, allocations: 4.375 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3749, allocations: 8.375 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.375, allocations: 53.98 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3751, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.3751, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3751, allocations: 11.92 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.3751, allocations: 15.94 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3755, allocations: 275.9 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.924e-05/0.3756, allocations: 18.58 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.3756, allocations: 4.859 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.3756, allocations: 3.984 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3758, allocations: 63.41 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.3758, allocations: 0 / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000186/0.376, allocations: 61.67 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.376, allocations: 51.41 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.3761, allocations: 105.8 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3761, allocations: 33.7 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.3762, allocations: 96.02 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.3762, allocations: 3.953 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.3763, allocations: 37.7 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3764, allocations: 322.8 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.3765, allocations: 27.92 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.3766, allocations: 50.56 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3767, allocations: 76.27 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3767, allocations: 7.938 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002611/0.377, allocations: 143.3 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.377, allocations: 41.69 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.377, allocations: 0 / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.377, allocations: 0 / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-05/0.377, allocations: 0 / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.377, allocations: 4 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3772, allocations: 31.86 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3773, allocations: 8.094 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001035/0.3774, allocations: 121.8 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.3774, allocations: 4 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.3774, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3774, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3774, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3774, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.3775, allocations: 141 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3775, allocations: 0 / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.3776, allocations: 15.94 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3776, allocations: 0 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3776, allocations: 0 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3776, allocations: 0 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3776, allocations: 3.938 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.3777, allocations: 85.28 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.3777, allocations: 7.938 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3777, allocations: 0 / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.3777, allocations: 4 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.3778, allocations: 4 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-06/0.3778, allocations: 0 / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.3778, allocations: 87.27 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3778, allocations: 0 / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002181/0.378, allocations: 19.94 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004504/0.3785, allocations: 0.6163 MB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3787, allocations: 103.4 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3787, allocations: 0 / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.25e-05/0.3787, allocations: 15.94 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3789, allocations: 11.92 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3805, allocations: 1.381 MB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3808, allocations: 0.6807 MB / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.3809, allocations: 0 / 1.292 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.3809, allocations: 15.44 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3809, allocations: 0 / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.4048, allocations: 2.129 MB / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 6.219 kB / 1.294 GB, free: 1.648 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.80293809605064] Failed to read output from testmodel.py, exit status != 0: 12.641541583987419 12.033594448 11.653940402 Calling exit ...