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.0007095/0.0007095, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008702/0.0008702, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.8709/0.8709, allocations: 230.6 MB / 256 MB, free: 9.578 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.0369/0.0369, allocations: 12.18 MB / 324.6 MB, free: 6.164 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.0004609/0.0004609, allocations: 35.88 kB / 384.1 MB, free: 10.58 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.529/1.529, allocations: 353.9 MB / 0.7787 GB, free: 4.559 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.001401/0.001401, allocations: 120.7 kB / 1.06 GB, free: 24.7 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2034, allocations: 134.9 MB / 1.192 GB, free: 7.438 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001445/0.2048, allocations: 0.5948 MB / 1.192 GB, free: 6.844 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.2066, allocations: 1.153 MB / 1.193 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.2067, allocations: 0 / 1.193 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.2068, allocations: 7.938 kB / 1.193 GB, free: 5.672 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.207, allocations: 11.92 kB / 1.193 GB, free: 5.66 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.2075, allocations: 123.8 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.2078, allocations: 187.6 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2079, allocations: 19.92 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.208, allocations: 79.89 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2081, allocations: 79.84 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.2082, allocations: 12 kB / 1.194 GB, free: 5.172 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.2082, allocations: 27.98 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.2083, allocations: 27.91 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.2084, allocations: 63.77 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2086, allocations: 199.5 kB / 1.194 GB, free: 4.859 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2086, allocations: 4 kB / 1.194 GB, free: 4.855 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2086, allocations: 4 kB / 1.194 GB, free: 4.852 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2086, allocations: 0 / 1.194 GB, free: 4.852 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.0005304/0.2091, allocations: 377.4 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2092, allocations: 12.03 kB / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.2092, allocations: 34.75 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.2093, allocations: 16.88 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2095, allocations: 162.4 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2095, allocations: 12.36 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.2095, allocations: 12.38 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2096, allocations: 99.86 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2097, allocations: 7.938 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2097, allocations: 4 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2097, allocations: 0 / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.2097, allocations: 39.97 kB / 1.195 GB, free: 4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.2101, allocations: 435.9 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.5e-05/0.2102, allocations: 57.14 kB / 1.195 GB, free: 3.453 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.2102, allocations: 25.77 kB / 1.195 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.2102, allocations: 3.984 kB / 1.195 GB, free: 3.418 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.2104, allocations: 117 kB / 1.196 GB, free: 3.285 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2104, allocations: 4 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002254/0.2106, allocations: 130 kB / 1.196 GB, free: 3.148 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.2106, allocations: 85.03 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.824e-05/0.2107, allocations: 137.7 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.2107, allocations: 29.7 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.2108, allocations: 104.1 kB / 1.196 GB, free: 2.762 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.2108, allocations: 11.89 kB / 1.196 GB, free: 2.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.2109, allocations: 53.69 kB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.2109, allocations: 318.8 kB / 1.196 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.2111, allocations: 191.3 kB / 1.197 GB, free: 2.172 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2113, allocations: 228.9 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.2114, allocations: 224.4 kB / 1.197 GB, free: 1.668 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2114, allocations: 0 / 1.197 GB, free: 1.668 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003797/0.2118, allocations: 460 kB / 1.197 GB, free: 1.188 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.2119, allocations: 69.42 kB / 1.198 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2119, allocations: 4.188 kB / 1.198 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2119, allocations: 4 kB / 1.198 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.735e-05/0.2119, allocations: 7.938 kB / 1.198 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2119, allocations: 3.984 kB / 1.198 GB, free: 1.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2121, allocations: 63.81 kB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.2121, allocations: 19.98 kB / 1.198 GB, free: 1.008 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 9.375e-05/0.2122, allocations: 135.7 kB / 1.198 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.2122, allocations: 7.953 kB / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.2123, allocations: 8 kB / 1.198 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2123, allocations: 4 kB / 1.198 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2123, allocations: 7.922 kB / 1.198 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2123, allocations: 3.938 kB / 1.198 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.894e-05/0.2124, allocations: 152.7 kB / 1.198 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2124, allocations: 0 / 1.198 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.2124, allocations: 8 kB / 1.198 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2124, allocations: 4 kB / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2124, allocations: 0 / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2124, allocations: 4 kB / 1.198 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2124, allocations: 0 / 1.198 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.2125, allocations: 133.9 kB / 1.198 GB, free: 480 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.2125, allocations: 11.95 kB / 1.198 GB, free: 468 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2126, allocations: 3.984 kB / 1.198 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.2126, allocations: 0 / 1.198 GB, free: 464 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.2126, allocations: 11.88 kB / 1.198 GB, free: 452 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.2126, allocations: 7.984 kB / 1.198 GB, free: 444 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.2126, allocations: 103.3 kB / 1.198 GB, free: 340 kB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.2126, allocations: 0 / 1.198 GB, free: 340 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001753/0.2128, allocations: 39.89 kB / 1.198 GB, free: 300 kB / 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.000344/0.2132, allocations: 0.6719 MB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.2135, allocations: 369.9 kB / 1.199 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2135, allocations: 0 / 1.199 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.2135, allocations: 31.97 kB / 1.199 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.2137, allocations: 28.23 kB / 1.199 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.2157, allocations: 2.451 MB / 1.202 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.2157, allocations: 87.08 kB / 1.202 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.2158, allocations: 7.984 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.2158, allocations: 23.44 kB / 1.202 GB, free: 12.37 MB / 0.8387 GB Notification: Performance of SimCode: time 7.32e-07/0.2158, allocations: 0 / 1.202 GB, free: 12.37 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.2308, allocations: 4.224 MB / 1.206 GB, free: 8.324 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.906/6.136, allocations: 5.531 kB / 1.206 GB, free: 8.324 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.122095724567771] Failed to read output from testmodel.py, exit status != 0: 6.209367772564292 6.217250236 6.006773675 Calling exit ...