Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001141/0.001141, 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.001349/0.001349, allocations: 221.8 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.9832/0.9832, 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.03837/0.03837, allocations: 12.18 MB / 324.6 MB, free: 6.293 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.0004603/0.0004603, allocations: 27.89 kB / 384.1 MB, free: 10.7 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.773/1.773, allocations: 353.8 MB / 0.7787 GB, free: 3.109 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.LessThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.002318/0.002318, allocations: 121.8 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2327, allocations: 134.9 MB / 1.192 GB, free: 7.863 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00162/0.2343, allocations: 0.8115 MB / 1.193 GB, free: 7.051 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.2352, allocations: 0.9172 MB / 1.194 GB, free: 6.121 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.2353, allocations: 0 / 1.194 GB, free: 6.121 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2355, allocations: 19.8 kB / 1.194 GB, free: 6.102 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.239e-05/0.2355, allocations: 7.875 kB / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.2357, allocations: 35.84 kB / 1.194 GB, free: 6.059 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.2359, allocations: 75.77 kB / 1.194 GB, free: 5.984 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.236, allocations: 23.98 kB / 1.194 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2361, allocations: 39.86 kB / 1.194 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.2362, allocations: 35.83 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2362, allocations: 8 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.2362, allocations: 8 kB / 1.194 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.2362, allocations: 11.94 kB / 1.194 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.2363, allocations: 35.73 kB / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2364, allocations: 83.89 kB / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2364, allocations: 0 / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2364, allocations: 0 / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2364, allocations: 0 / 1.194 GB, free: 5.742 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004185/0.2368, allocations: 318 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2369, allocations: 12.02 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.2369, allocations: 30.75 kB / 1.194 GB, free: 5.348 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.237, allocations: 24.88 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.2373, allocations: 146.3 kB / 1.194 GB, free: 5.156 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.2373, allocations: 384 / 1.194 GB, free: 5.156 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2373, allocations: 8.312 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.2374, allocations: 66.23 kB / 1.194 GB, free: 5.078 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2374, allocations: 3.938 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.2374, allocations: 0 / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2374, allocations: 7.938 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.2375, allocations: 27.98 kB / 1.194 GB, free: 5.039 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.2378, allocations: 295.7 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.238, allocations: 46.55 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.2381, allocations: 25.03 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2381, allocations: 0 / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2381, allocations: 34.56 kB / 1.195 GB, free: 4.582 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.2381, allocations: 0 / 1.195 GB, free: 4.582 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001932/0.2383, allocations: 77.62 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2383, allocations: 51.41 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.2384, allocations: 131.5 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2384, allocations: 29.7 kB / 1.195 GB, free: 4.266 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.2385, allocations: 96.12 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.2385, allocations: 5.375 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.2385, allocations: 17.72 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.2386, allocations: 322.8 kB / 1.196 GB, free: 3.816 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.2386, allocations: 23.92 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.2387, allocations: 12 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.2387, allocations: 28.84 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2387, allocations: 0 / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.961e-05/0.2388, allocations: 69.62 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2388, allocations: 8 kB / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2388, allocations: 0 / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2388, allocations: 336 / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.2389, allocations: 11.98 kB / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2389, allocations: 0 / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.2389, allocations: 23.81 kB / 1.196 GB, free: 3.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2389, allocations: 3.938 kB / 1.196 GB, free: 3.629 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.958e-05/0.239, allocations: 113.8 kB / 1.196 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.239, allocations: 7.984 kB / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.239, allocations: 8.344 kB / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.239, allocations: 0 / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2391, allocations: 4 kB / 1.196 GB, free: 3.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2391, allocations: 3.984 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2392, allocations: 164.6 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2392, allocations: 0 / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.2392, allocations: 4 kB / 1.196 GB, free: 3.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2392, allocations: 0 / 1.196 GB, free: 3.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2392, allocations: 0 / 1.196 GB, free: 3.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2392, allocations: 4 kB / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2392, allocations: 0 / 1.196 GB, free: 3.266 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2393, allocations: 167.3 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.2393, allocations: 11.89 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.2394, allocations: 3.984 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.2394, allocations: 11.98 kB / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.2395, allocations: 7.984 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.2395, allocations: 4 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.2395, allocations: 109 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2395, allocations: 4 kB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001488/0.2397, allocations: 11.95 kB / 1.196 GB, free: 2.926 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003276/0.24, allocations: 0.6774 MB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.2401, allocations: 39.91 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2401, allocations: 4 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.2401, allocations: 15.98 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2403, allocations: 8 kB / 1.197 GB, free: 2.156 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.2413, allocations: 1.384 MB / 1.198 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.2415, allocations: 0.6885 MB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.2415, allocations: 12.08 kB / 1.199 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.2416, allocations: 31.41 kB / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of SimCode: time 6.31e-07/0.2416, allocations: 0 / 1.199 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.2576, allocations: 2.107 MB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/6.864, allocations: 15.17 kB / 1.201 GB, free: 13.95 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.571876677684486] Failed to read output from testmodel.py, exit status != 0: 6.941695620305836 6.95165721 6.713189948 Calling exit ...