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.001797/0.001797, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.002149/0.002149, allocations: 215 kB / 20.13 MB, free: 2.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.596/1.596, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.936/2.936, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] 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.002128/0.002128, allocations: 75.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.003041/1.062, allocations: 0.6207 MB / 1.28 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002527/1.064, allocations: 1.156 MB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/1.064, allocations: 0 / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/1.065, allocations: 5.297 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/1.065, allocations: 9.938 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/1.065, allocations: 123.9 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/1.066, allocations: 95.16 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/1.066, allocations: 7.516 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/1.066, allocations: 30.97 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/1.066, allocations: 40 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/1.066, allocations: 8.406 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/1.066, allocations: 16.95 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/1.066, allocations: 14.69 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.678e-05/1.066, allocations: 35.59 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/1.066, allocations: 85.56 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.066, allocations: 0.75 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.627e-06/1.066, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.066, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9981 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.0006732/1.067, allocations: 381.8 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.067, allocations: 9.375 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.145e-05/1.067, allocations: 5.281 kB / 1.282 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/1.067, allocations: 37.03 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/1.067, allocations: 8.953 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/1.068, allocations: 186.3 kB / 1.282 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/1.068, allocations: 6.641 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/1.068, allocations: 10.39 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/1.068, allocations: 47.09 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.068, allocations: 3.938 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/1.068, allocations: 1.922 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.068, allocations: 5.094 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/1.068, allocations: 10.98 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/1.068, allocations: 305.1 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/1.069, allocations: 25.62 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/1.069, allocations: 7.547 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/1.069, allocations: 3.938 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/1.069, allocations: 57.72 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/1.069, allocations: 4 kB / 1.282 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000284/1.069, allocations: 64.2 kB / 1.282 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.069, allocations: 53.03 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.069, allocations: 106 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/1.069, allocations: 31.05 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/1.069, allocations: 89.38 kB / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/1.069, allocations: 5.047 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.069, allocations: 30.92 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.07, allocations: 325.1 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/1.07, allocations: 28.12 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.07, allocations: 48.52 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/1.07, allocations: 79.69 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.07, allocations: 4.438 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003919/1.07, allocations: 147.9 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/1.071, allocations: 39.52 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.071, allocations: 1 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.071, allocations: 1.031 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.257e-05/1.071, allocations: 1.562 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.071, allocations: 1.766 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/1.071, allocations: 24.5 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/1.071, allocations: 5.875 kB / 1.283 GB, free: 8.289 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.0001349/1.071, allocations: 124.4 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/1.071, allocations: 6.797 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/1.071, allocations: 5.047 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.071, allocations: 0.6875 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.071, allocations: 1.375 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.071, allocations: 0.7344 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/1.071, allocations: 172.4 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.071, allocations: 0 / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/1.071, allocations: 4.453 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.071, allocations: 10.17 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/1.071, allocations: 1.219 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.071, allocations: 4.656 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.071, allocations: 0 / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/1.071, allocations: 84.86 kB / 1.284 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/1.072, allocations: 81.67 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/1.072, allocations: 2 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/1.072, allocations: 1.25 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/1.072, allocations: 6.578 kB / 1.284 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/1.072, allocations: 1.859 kB / 1.284 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.169e-05/1.072, allocations: 85.45 kB / 1.284 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.072, allocations: 0 / 1.284 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002632/1.072, allocations: 24.09 kB / 1.284 GB, free: 7.664 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.0005721/1.073, allocations: 0.6191 MB / 1.284 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002752/1.073, allocations: 109 kB / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.073, allocations: 0 / 1.285 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/1.073, allocations: 10.86 kB / 1.285 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/1.073, allocations: 11.36 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/1.075, allocations: 1.382 MB / 1.286 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.075, allocations: 0.6808 MB / 1.287 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.674e-05/1.075, allocations: 3.812 kB / 1.287 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/1.075, allocations: 13.34 kB / 1.287 GB, free: 5 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.075, allocations: 0 / 1.287 GB, free: 5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/1.094, allocations: 2.048 MB / 1.289 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/9.417, allocations: 11.14 kB / 1.289 GB, free: 4.586 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.95981520798523] Failed to read output from testmodel.py, exit status != 0: 9.548596956999972 9.570795468 8.500105795 Calling exit ...