Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0008805/0.0008805, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008301/0.0008301, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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 0.9079/0.9079, allocations: 230.6 MB / 256 MB, free: 9.789 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03877/0.03877, allocations: 12.18 MB / 324.6 MB, free: 6.27 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004886/0.0004886, allocations: 35.88 kB / 384.1 MB, free: 10.68 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.691/1.691, allocations: 353.8 MB / 0.7787 GB, free: 3.051 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.00151/0.00151, allocations: 118 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2456, allocations: 134.9 MB / 1.192 GB, free: 7.742 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001395/0.247, allocations: 0.6202 MB / 1.192 GB, free: 7.125 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.248, allocations: 1.172 MB / 1.193 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.248, allocations: 4 kB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.252e-05/0.2481, allocations: 3.938 kB / 1.194 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.2482, allocations: 11.92 kB / 1.194 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.2485, allocations: 127.1 kB / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.2487, allocations: 187.6 kB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2488, allocations: 11.94 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.2489, allocations: 83.88 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.249, allocations: 71.84 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2491, allocations: 16 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.2491, allocations: 31.98 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.2492, allocations: 23.92 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.2493, allocations: 63.81 kB / 1.194 GB, free: 5.32 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.2495, allocations: 195.5 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2495, allocations: 0 / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2495, allocations: 3.938 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2495, allocations: 0 / 1.194 GB, free: 5.125 MB / 0.823 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.0004325/0.2499, allocations: 381.4 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2499, allocations: 12.03 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.25, allocations: 38.75 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.25, allocations: 16.88 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.2502, allocations: 162.4 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2502, allocations: 12.36 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2502, allocations: 12.38 kB / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.2503, allocations: 103.8 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2504, allocations: 3.938 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2504, allocations: 4 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2504, allocations: 4 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.2504, allocations: 39.97 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.2508, allocations: 459.9 kB / 1.195 GB, free: 3.766 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.786e-05/0.2509, allocations: 57.14 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.2509, allocations: 25.77 kB / 1.196 GB, free: 3.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2509, allocations: 11.97 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.251, allocations: 109 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.251, allocations: 0 / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002025/0.2512, allocations: 129.6 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2513, allocations: 93.03 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.2513, allocations: 141.7 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.2514, allocations: 29.7 kB / 1.196 GB, free: 3.098 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.2517, allocations: 104 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.2517, allocations: 15.88 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.2518, allocations: 53.69 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.2518, allocations: 322.8 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.252, allocations: 119.9 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.2521, allocations: 161 kB / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.2523, allocations: 220.4 kB / 1.197 GB, free: 2.055 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2523, allocations: 8 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000352/0.2526, allocations: 388.7 kB / 1.197 GB, free: 1.648 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.2527, allocations: 59.41 kB / 1.197 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2527, allocations: 7.938 kB / 1.197 GB, free: 1.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2527, allocations: 0 / 1.197 GB, free: 1.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.811e-05/0.2527, allocations: 7.984 kB / 1.197 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2527, allocations: 0 / 1.197 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.2529, allocations: 76 kB / 1.198 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.253, allocations: 11.98 kB / 1.198 GB, free: 1.477 MB / 0.823 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 7.69e-05/0.253, allocations: 133.8 kB / 1.198 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-06/0.253, allocations: 7.953 kB / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.2531, allocations: 4 kB / 1.198 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2531, allocations: 7.984 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2531, allocations: 7.938 kB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2531, allocations: 3.938 kB / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.314e-05/0.2532, allocations: 156.7 kB / 1.198 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2532, allocations: 0 / 1.198 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-06/0.2532, allocations: 0 / 1.198 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2532, allocations: 4 kB / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2532, allocations: 0 / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.2532, allocations: 3.938 kB / 1.198 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2532, allocations: 0 / 1.198 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.2533, allocations: 138.2 kB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.2533, allocations: 11.94 kB / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.2533, allocations: 0 / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.824e-05/0.2533, allocations: 7.984 kB / 1.198 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.2533, allocations: 15.81 kB / 1.198 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2534, allocations: 4 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.2534, allocations: 99.25 kB / 1.198 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2534, allocations: 0 / 1.198 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001635/0.2536, allocations: 47.89 kB / 1.198 GB, free: 0.7539 MB / 0.823 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.0003091/0.2539, allocations: 0.668 MB / 1.199 GB, free: 56 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.2542, allocations: 306.9 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2542, allocations: 0 / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.2542, allocations: 27.97 kB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.2544, allocations: 23.92 kB / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.256, allocations: 2.172 MB / 1.201 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.2562, allocations: 0.7041 MB / 1.202 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.2563, allocations: 8 kB / 1.202 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.2563, allocations: 23.44 kB / 1.202 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of SimCode: time 5.31e-07/0.2563, allocations: 0 / 1.202 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.2715, allocations: 3.606 MB / 1.206 GB, free: 9.168 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.28, allocations: 13.02 kB / 1.206 GB, free: 9.156 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.637046126648784] Failed to read output from testmodel.py, exit status != 0: 7.3571280017495155 7.370941492 7.119637127 Calling exit ...