Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.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.0007779/0.0007779, 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.0009346/0.0009346, 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.8831/0.8831, allocations: 230.6 MB / 256 MB, free: 9.582 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.03638/0.03638, allocations: 12.19 MB / 324.6 MB, free: 6.066 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.0004009/0.0004009, allocations: 19.97 kB / 384.1 MB, free: 10.5 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.525/1.525, allocations: 353.9 MB / 0.7787 GB, free: 4.504 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.Reals.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Switch",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.001394/0.001394, allocations: 123.4 kB / 1.06 GB, free: 24.51 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1947, allocations: 134.9 MB / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001396/0.1961, allocations: 0.747 MB / 1.192 GB, free: 6.543 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1971, allocations: 1.176 MB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.1971, allocations: 3.938 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.1972, allocations: 3.938 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.1972, allocations: 19.86 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1976, allocations: 143.8 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1977, allocations: 123.8 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.1978, allocations: 11.98 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/0.1979, allocations: 59.83 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.198, allocations: 43.81 kB / 1.194 GB, free: 4.957 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.198, allocations: 12 kB / 1.194 GB, free: 4.945 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.198, allocations: 20 kB / 1.194 GB, free: 4.926 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.198, allocations: 11.98 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.1981, allocations: 47.83 kB / 1.194 GB, free: 4.867 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1982, allocations: 115.9 kB / 1.194 GB, free: 4.754 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1982, allocations: 4 kB / 1.194 GB, free: 4.75 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1982, allocations: 0 / 1.194 GB, free: 4.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1982, allocations: 0 / 1.194 GB, free: 4.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004547/0.1987, allocations: 353.2 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1987, allocations: 11.97 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.1988, allocations: 34.75 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1988, allocations: 12.89 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.1989, allocations: 118.4 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1989, allocations: 4.375 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1989, allocations: 12.38 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.199, allocations: 74.2 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.199, allocations: 3.938 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1991, allocations: 7.984 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1991, allocations: 4 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1992, allocations: 75.89 kB / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1995, allocations: 287.7 kB / 1.195 GB, free: 3.652 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.1997, allocations: 54.53 kB / 1.195 GB, free: 3.59 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.1997, allocations: 44.91 kB / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1997, allocations: 0 / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1999, allocations: 91.34 kB / 1.195 GB, free: 3.441 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1999, allocations: 4 kB / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0003368/0.2003, allocations: 165.5 kB / 1.195 GB, free: 3.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2003, allocations: 55.41 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.2004, allocations: 120 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.2004, allocations: 33.69 kB / 1.196 GB, free: 3.035 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.2004, allocations: 96.08 kB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.2004, allocations: 15.86 kB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.2005, allocations: 37.7 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.2006, allocations: 322.8 kB / 1.196 GB, free: 2.555 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2007, allocations: 93.64 kB / 1.196 GB, free: 2.457 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2008, allocations: 108.2 kB / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.201, allocations: 152.2 kB / 1.196 GB, free: 2.172 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.201, allocations: 0 / 1.196 GB, free: 2.172 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002895/0.2013, allocations: 240.9 kB / 1.197 GB, free: 1.918 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.2013, allocations: 39.78 kB / 1.197 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2013, allocations: 4 kB / 1.197 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2013, allocations: 0 / 1.197 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.2014, allocations: 15.98 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2014, allocations: 7.922 kB / 1.197 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.2015, allocations: 47.84 kB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2015, allocations: 4 kB / 1.197 GB, free: 1.797 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 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 6.179e-05/0.2016, allocations: 121.8 kB / 1.197 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.2016, allocations: 8.047 kB / 1.197 GB, free: 1.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.2016, allocations: 20.3 kB / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2016, allocations: 0 / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2016, allocations: 0 / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2016, allocations: 0 / 1.197 GB, free: 1.637 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.349e-05/0.2017, allocations: 144.7 kB / 1.197 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2017, allocations: 0 / 1.197 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.2018, allocations: 15.98 kB / 1.197 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2018, allocations: 320 / 1.197 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2018, allocations: 8 kB / 1.197 GB, free: 1.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2018, allocations: 4 kB / 1.197 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2018, allocations: 0 / 1.197 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.2022, allocations: 156.9 kB / 1.197 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.2022, allocations: 4 kB / 1.197 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.2022, allocations: 3.984 kB / 1.197 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.2023, allocations: 15.98 kB / 1.197 GB, free: 1.23 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2023, allocations: 7.984 kB / 1.197 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.2023, allocations: 4 kB / 1.197 GB, free: 1.219 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.2024, allocations: 95.27 kB / 1.197 GB, free: 1.125 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2024, allocations: 7.938 kB / 1.197 GB, free: 1.117 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000146/0.2025, allocations: 27.95 kB / 1.197 GB, free: 1.09 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 (6): * Single equations (assignments): 5 * 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.0003911/0.2029, allocations: 0.6826 MB / 1.198 GB, free: 388 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.2032, allocations: 205 kB / 1.198 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2032, allocations: 0 / 1.198 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.2032, allocations: 43.91 kB / 1.198 GB, free: 120 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.2034, allocations: 20.11 kB / 1.198 GB, free: 100 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2048, allocations: 1.764 MB / 1.2 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.2048, allocations: 71.33 kB / 1.2 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.2048, allocations: 7.938 kB / 1.2 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.2049, allocations: 19.44 kB / 1.2 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of SimCode: time 6.41e-07/0.2049, allocations: 0 / 1.2 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.2192, allocations: 3.366 MB / 1.203 GB, free: 10.88 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.919/6.138, allocations: 12.56 kB / 1.203 GB, free: 10.88 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Switch.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.170704698190093] Failed to read output from testmodel.py, exit status != 0: 6.211449886672199 6.220245456 6.02030815 Calling exit ...