Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.0008782/0.0008782, allocations: 105.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.0009666/0.0009666, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.86/0.86, allocations: 230.6 MB / 256 MB, free: 9.602 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.03536/0.03536, allocations: 12.19 MB / 324.6 MB, free: 6.078 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.0004436/0.0004436, allocations: 23.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.546/1.546, allocations: 353.8 MB / 0.7787 GB, free: 4.531 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.Integers.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_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.00138/0.00138, allocations: 116 kB / 1.06 GB, free: 24.81 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1985, allocations: 134.9 MB / 1.192 GB, free: 7.477 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001429/0.1999, allocations: 0.7872 MB / 1.192 GB, free: 6.691 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2011, allocations: 1.312 MB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.2011, allocations: 0 / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.2012, allocations: 15.8 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.2012, allocations: 19.81 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.2019, allocations: 330.1 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.2021, allocations: 299.5 kB / 1.194 GB, free: 4.727 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.2022, allocations: 33.41 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2023, allocations: 119.8 kB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2024, allocations: 87.67 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.2024, allocations: 28 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.2025, allocations: 43.92 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.2025, allocations: 27.92 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.2026, allocations: 95.67 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.2028, allocations: 263.4 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2028, allocations: 3.984 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2028, allocations: 0 / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2028, allocations: 0 / 1.195 GB, free: 4.031 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004637/0.2033, allocations: 458.8 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2033, allocations: 12.03 kB / 1.195 GB, free: 3.523 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.2034, allocations: 42.73 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.2034, allocations: 28.84 kB / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.257e-05/0.2035, allocations: 123.9 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2035, allocations: 19.94 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2036, allocations: 19.98 kB / 1.196 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.2038, allocations: 91.2 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2038, allocations: 0 / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2038, allocations: 4 kB / 1.196 GB, free: 3.164 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2038, allocations: 4 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.2039, allocations: 47.91 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.2043, allocations: 411.5 kB / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2045, allocations: 70.55 kB / 1.196 GB, free: 2.59 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.2045, allocations: 32.91 kB / 1.196 GB, free: 2.555 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.547e-06/0.2045, allocations: 0 / 1.196 GB, free: 2.555 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.2047, allocations: 119.4 kB / 1.196 GB, free: 2.426 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.2047, allocations: 3.938 kB / 1.196 GB, free: 2.422 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0002473/0.2049, allocations: 165.6 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.205, allocations: 55.41 kB / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.2051, allocations: 168.3 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2051, allocations: 33.69 kB / 1.197 GB, free: 1.977 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.2051, allocations: 116 kB / 1.197 GB, free: 1.859 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.2052, allocations: 35.73 kB / 1.197 GB, free: 1.824 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.2052, allocations: 73.67 kB / 1.197 GB, free: 1.746 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.2053, allocations: 322.8 kB / 1.197 GB, free: 1.422 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2055, allocations: 189 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2056, allocations: 235 kB / 1.198 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.2058, allocations: 256.8 kB / 1.198 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2058, allocations: 4 kB / 1.198 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00041/0.2062, allocations: 499.5 kB / 1.199 GB, free: 128 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.2063, allocations: 97.09 kB / 1.199 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2063, allocations: 7.938 kB / 1.199 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2063, allocations: 0 / 1.199 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.2063, allocations: 15.98 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2063, allocations: 0 / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.2066, allocations: 87.98 kB / 1.199 GB, free: 15.9 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.2066, allocations: 19.98 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.868e-05/0.2067, allocations: 129.8 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.2067, allocations: 19.84 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.2067, allocations: 16.77 kB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2067, allocations: 8 kB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2067, allocations: 0 / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2067, allocations: 0 / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.207, allocations: 180.6 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.207, allocations: 7.875 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.2071, allocations: 11.98 kB / 1.199 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2071, allocations: 0 / 1.199 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2071, allocations: 8 kB / 1.199 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2071, allocations: 0 / 1.199 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2071, allocations: 3.938 kB / 1.199 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.2072, allocations: 167.9 kB / 1.199 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.2072, allocations: 19.89 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2072, allocations: 3.984 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.2073, allocations: 0 / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.2073, allocations: 11.98 kB / 1.199 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2073, allocations: 4 kB / 1.199 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.2073, allocations: 120.9 kB / 1.199 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2073, allocations: 4 kB / 1.199 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001757/0.2075, allocations: 51.95 kB / 1.199 GB, free: 15.06 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003335/0.2079, allocations: 0.7114 MB / 1.2 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.2082, allocations: 431.2 kB / 1.201 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2082, allocations: 4 kB / 1.201 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.2082, allocations: 47.86 kB / 1.201 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.2084, allocations: 25.53 kB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.2103, allocations: 2.623 MB / 1.203 GB, free: 10.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.2104, allocations: 94.7 kB / 1.203 GB, free: 10.83 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.2104, allocations: 12.64 kB / 1.203 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.2104, allocations: 39.42 kB / 1.203 GB, free: 10.78 MB / 0.8387 GB Notification: Performance of SimCode: time 2.91e-07/0.2104, allocations: 0 / 1.203 GB, free: 10.78 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.225, allocations: 5.112 MB / 1.208 GB, free: 5.848 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.007/6.232, allocations: 6.703 kB / 1.208 GB, free: 5.848 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.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_Integers_Validation_Switch.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.24765714071691] Failed to read output from testmodel.py, exit status != 0: 6.305852496065199 6.314746305 6.110294531 Calling exit ...