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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.93/2.93, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.1, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001855/1.101, allocations: 0.6346 MB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001422/1.103, allocations: 1.122 MB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/1.103, allocations: 0.75 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/1.103, allocations: 8.547 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/1.103, allocations: 11.17 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/1.103, allocations: 126.5 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/1.104, allocations: 82.38 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/1.104, allocations: 11.41 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/1.104, allocations: 39.25 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/1.104, allocations: 31.59 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/1.104, allocations: 8.562 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/1.104, allocations: 20.91 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/1.104, allocations: 6.891 kB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/1.104, allocations: 35.66 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/1.104, allocations: 89.56 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.104, allocations: 4.906 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.104, allocations: 0 / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.104, allocations: 0 / 1.274 GB, free: 6.281 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.0004478/1.105, allocations: 385.6 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.105, allocations: 9.75 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/1.105, allocations: 35.38 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/1.105, allocations: 4.844 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/1.105, allocations: 183.5 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/1.105, allocations: 6.938 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/1.105, allocations: 6.719 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/1.105, allocations: 43.09 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.105, allocations: 3.938 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/1.105, allocations: 4.844 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.105, allocations: 1.812 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/1.105, allocations: 17.44 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/1.106, allocations: 298.9 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/1.106, allocations: 18.2 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/1.106, allocations: 8.672 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-06/1.106, allocations: 3.938 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/1.106, allocations: 60.12 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.106, allocations: 0 / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001972/1.106, allocations: 66.45 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.106, allocations: 52.38 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/1.106, allocations: 113.9 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/1.106, allocations: 27.61 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/1.106, allocations: 87.41 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/1.106, allocations: 13.39 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/1.106, allocations: 34.45 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/1.106, allocations: 319.6 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/1.106, allocations: 26.16 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/1.107, allocations: 52.19 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/1.107, allocations: 93.52 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.107, allocations: 0 / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/1.107, allocations: 142.5 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/1.107, allocations: 39.89 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.107, allocations: 0.9688 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.107, allocations: 0.9062 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-05/1.107, allocations: 1.109 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.107, allocations: 4.078 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/1.107, allocations: 26.64 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/1.107, allocations: 6.406 kB / 1.276 GB, free: 4.258 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 7.604e-05/1.107, allocations: 122.4 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/1.107, allocations: 8.875 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/1.107, allocations: 5.062 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.107, allocations: 0.8438 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.107, allocations: 0 / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.107, allocations: 0.7188 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.843e-05/1.107, allocations: 172 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.107, allocations: 0.6875 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/1.107, allocations: 1 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.107, allocations: 0.9688 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/1.107, allocations: 1.453 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.107, allocations: 4.844 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.107, allocations: 0 / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.603e-05/1.108, allocations: 82.19 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/1.108, allocations: 82.2 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/1.108, allocations: 1.094 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/1.108, allocations: 0 / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/1.108, allocations: 2.156 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.108, allocations: 3.328 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.804e-05/1.108, allocations: 89.59 kB / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.108, allocations: 0 / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002158/1.108, allocations: 23.27 kB / 1.276 GB, free: 3.648 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.0003198/1.108, allocations: 0.627 MB / 1.277 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002056/1.108, allocations: 104.8 kB / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.108, allocations: 0 / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/1.108, allocations: 16.28 kB / 1.277 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/1.109, allocations: 9.078 kB / 1.277 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/1.11, allocations: 1.384 MB / 1.278 GB, free: 17.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/1.11, allocations: 0.6798 MB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.262e-05/1.11, allocations: 4.516 kB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/1.11, allocations: 13.62 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/1.11, allocations: 0 / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/1.136, allocations: 1.986 MB / 1.281 GB, free: 16.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/9.015, allocations: 10.39 kB / 1.281 GB, free: 16.55 MB / 1.014 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.372692397009814] Failed to read output from testmodel.py, exit status != 0: 9.087573359982343 9.115443917 8.005740992 Calling exit ...