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.001876/0.001876, allocations: 97.92 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.001973/0.001973, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.856/2.856, allocations: 476.8 MB / 0.7715 GB, free: 3.945 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.002027/0.002027, allocations: 67.98 kB / 1.118 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3409, allocations: 169.9 MB / 1.284 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001961/0.3428, allocations: 0.6181 MB / 1.285 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3446, allocations: 1.126 MB / 1.286 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.3446, allocations: 3.938 kB / 1.286 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.731e-05/0.3447, allocations: 4 kB / 1.286 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.633e-05/0.3448, allocations: 3.938 kB / 1.286 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.3453, allocations: 128.2 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3455, allocations: 83.83 kB / 1.286 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.3456, allocations: 19.91 kB / 1.286 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3457, allocations: 27.98 kB / 1.286 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3458, allocations: 31.89 kB / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.3458, allocations: 8 kB / 1.286 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.3459, allocations: 35.92 kB / 1.286 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.346, allocations: 11.98 kB / 1.286 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.346, allocations: 23.92 kB / 1.286 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3462, allocations: 87.78 kB / 1.286 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3462, allocations: 0 / 1.286 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3462, allocations: 0 / 1.286 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3462, allocations: 3.938 kB / 1.286 GB, free: 1.16 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.0004883/0.3467, allocations: 303.9 kB / 1.287 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3468, allocations: 12.03 kB / 1.287 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.722e-05/0.3468, allocations: 192 / 1.287 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.3468, allocations: 38.73 kB / 1.287 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.3469, allocations: 8.938 kB / 1.287 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.347, allocations: 122.5 kB / 1.287 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.3471, allocations: 4.375 kB / 1.287 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3471, allocations: 4.375 kB / 1.287 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.3472, allocations: 57.92 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3472, allocations: 0 / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3472, allocations: 4 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3472, allocations: 0 / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.3473, allocations: 8 kB / 1.287 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.3476, allocations: 256 kB / 1.287 GB, free: 244 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.3477, allocations: 30.45 kB / 1.287 GB, free: 204 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.3477, allocations: 8.844 kB / 1.287 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.3477, allocations: 4.062 kB / 1.287 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.3479, allocations: 59.34 kB / 1.287 GB, free: 116 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3479, allocations: 0 / 1.287 GB, free: 116 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002011/0.3481, allocations: 69.61 kB / 1.287 GB, free: 40 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3481, allocations: 51.41 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3483, allocations: 109.8 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3483, allocations: 33.7 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.3484, allocations: 88.09 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3485, allocations: 7.953 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.3485, allocations: 33.7 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3487, allocations: 322.8 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3488, allocations: 57.69 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3489, allocations: 76.25 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.349, allocations: 84.22 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.349, allocations: 3.938 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002902/0.3493, allocations: 173 kB / 1.288 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.3494, allocations: 43.98 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3494, allocations: 3.984 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3494, allocations: 240 / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.888e-05/0.3494, allocations: 4 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3494, allocations: 0 / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3496, allocations: 27.91 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.3496, allocations: 4 kB / 1.288 GB, free: 14.83 MB / 0.9981 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.0001298/0.3498, allocations: 129.7 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.3498, allocations: 7.938 kB / 1.288 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.3498, allocations: 8 kB / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3498, allocations: 0 / 1.288 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3498, allocations: 4 kB / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3498, allocations: 0 / 1.288 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3499, allocations: 132.7 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3499, allocations: 0 / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-06/0.35, allocations: 0 / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.35, allocations: 0 / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.35, allocations: 4 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.35, allocations: 3.984 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.35, allocations: 4 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3501, allocations: 81.06 kB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.3501, allocations: 7.953 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3501, allocations: 0 / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.443e-05/0.3501, allocations: 320 / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.3502, allocations: 7.922 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3502, allocations: 11.94 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.3502, allocations: 83.28 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3502, allocations: 0 / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002218/0.3504, allocations: 19.94 kB / 1.289 GB, free: 14.26 MB / 0.9981 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.0005336/0.351, allocations: 0.6125 MB / 1.289 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3512, allocations: 145 kB / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3512, allocations: 0 / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.3513, allocations: 8 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.3515, allocations: 19.86 kB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.3532, allocations: 1.501 MB / 1.291 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.438e-05/0.3532, allocations: 67.53 kB / 1.291 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.3533, allocations: 4 kB / 1.291 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.3533, allocations: 15.44 kB / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.3533, allocations: 0 / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.3775, allocations: 2.238 MB / 1.293 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.91, allocations: 10.44 kB / 1.293 GB, free: 9.629 MB / 0.9981 GB " [Timeout remaining time 288] (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.702865881030448] Failed to read output from testmodel.py, exit status != 0: 12.084154222975485 12.113614639 11.762367947 Calling exit ...