Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.001165/0.001165, 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.001338/0.001338, allocations: 222.3 kB / 22.26 MB, free: 3.707 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.9655/0.9655, allocations: 230.6 MB / 256 MB, free: 9.797 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.03808/0.03808, allocations: 12.18 MB / 324.6 MB, free: 6.277 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.0004604/0.0004604, allocations: 31.89 kB / 384.1 MB, free: 10.69 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.686/1.686, allocations: 353.8 MB / 0.7787 GB, free: 3.156 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.BooleanScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.001553/0.001553, allocations: 124.6 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2224, allocations: 134.9 MB / 1.192 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001494/0.2239, allocations: 0.6077 MB / 1.192 GB, free: 7.277 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2253, allocations: 1.168 MB / 1.193 GB, free: 6.098 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.2253, allocations: 4 kB / 1.193 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2254, allocations: 3.938 kB / 1.193 GB, free: 6.09 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.186e-05/0.2255, allocations: 3.938 kB / 1.193 GB, free: 6.086 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.2259, allocations: 118.1 kB / 1.194 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.226, allocations: 95.83 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.2261, allocations: 15.91 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.2262, allocations: 35.92 kB / 1.194 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2263, allocations: 31.89 kB / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.2263, allocations: 8 kB / 1.194 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.2263, allocations: 23.97 kB / 1.194 GB, free: 5.766 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.2264, allocations: 8 kB / 1.194 GB, free: 5.758 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.2265, allocations: 27.92 kB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.2266, allocations: 87.72 kB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2266, allocations: 7.938 kB / 1.194 GB, free: 5.637 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2266, allocations: 4 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2266, allocations: 0 / 1.194 GB, free: 5.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003711/0.227, allocations: 313.1 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.227, allocations: 8.031 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.621e-05/0.2271, allocations: 34.75 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.2271, allocations: 4.938 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2272, allocations: 122.5 kB / 1.194 GB, free: 5.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2273, allocations: 4.375 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2273, allocations: 8.375 kB / 1.194 GB, free: 5.078 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.2274, allocations: 54.23 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2274, allocations: 3.938 kB / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.2274, allocations: 0 / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2274, allocations: 3.938 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.2274, allocations: 15.94 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.2277, allocations: 267.9 kB / 1.195 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.158e-05/0.2277, allocations: 22.56 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.2278, allocations: 12.92 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.2278, allocations: 3.938 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.2279, allocations: 59.39 kB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2279, allocations: 0 / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001564/0.2281, allocations: 65.64 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2281, allocations: 55.39 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.2282, allocations: 109.8 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2282, allocations: 33.7 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.2282, allocations: 88.09 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.2282, allocations: 7.953 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.2283, allocations: 37.69 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.2284, allocations: 314.8 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.2284, allocations: 27.98 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.2285, allocations: 46.56 kB / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.2285, allocations: 88.14 kB / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2285, allocations: 0 / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001678/0.2287, allocations: 143.3 kB / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.2288, allocations: 43.56 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2288, allocations: 0 / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2288, allocations: 0 / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.2288, allocations: 4 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2288, allocations: 4.094 kB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.2289, allocations: 27.91 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.229, allocations: 7.984 kB / 1.196 GB, free: 3.395 MB / 0.823 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.956e-05/0.229, allocations: 121.8 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.229, allocations: 3.953 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.2291, allocations: 4 kB / 1.196 GB, free: 3.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2291, allocations: 4 kB / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2291, allocations: 4 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2291, allocations: 0 / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.021e-05/0.2292, allocations: 140.7 kB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2292, allocations: 0 / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.2292, allocations: 0 / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2292, allocations: 240 / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.2292, allocations: 0 / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.2292, allocations: 7.938 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2292, allocations: 0 / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.534e-05/0.2293, allocations: 89.03 kB / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.2293, allocations: 4.25 kB / 1.196 GB, free: 2.945 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.2293, allocations: 4 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.2293, allocations: 4 kB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.2294, allocations: 3.984 kB / 1.196 GB, free: 2.934 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2294, allocations: 0 / 1.196 GB, free: 2.934 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.2294, allocations: 87.28 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2294, allocations: 0 / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001475/0.2295, allocations: 15.95 kB / 1.196 GB, free: 2.832 MB / 0.823 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.0003257/0.2299, allocations: 0.6241 MB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.23, allocations: 99.38 kB / 1.197 GB, free: 2.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.23, allocations: 4 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.2301, allocations: 19.86 kB / 1.197 GB, free: 2.047 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.2303, allocations: 16.11 kB / 1.197 GB, free: 2.031 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2315, allocations: 1.381 MB / 1.198 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.2317, allocations: 0.6768 MB / 1.199 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.2317, allocations: 4 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.2317, allocations: 15.42 kB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of SimCode: time 5.31e-07/0.2317, allocations: 8 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.2484, allocations: 2.095 MB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/7.091, allocations: 10.41 kB / 1.201 GB, free: 13.87 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_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_BooleanScalarReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.555573680438101] Failed to read output from testmodel.py, exit status != 0: 7.168531134724617 7.185658045 6.955835365 Calling exit ...