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.001214/0.001214, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.0009224/0.0009224, allocations: 217.8 kB / 22.25 MB, free: 3.703 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.9546/0.9546, allocations: 230.6 MB / 256 MB, free: 9.82 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.0402/0.0402, allocations: 12.18 MB / 324.6 MB, free: 6.289 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.0003969/0.0003969, allocations: 31.94 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.704/1.704, allocations: 353.8 MB / 0.7787 GB, free: 3.164 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.001332/0.001332, allocations: 111.4 kB / 1.06 GB, free: 25.06 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2293, allocations: 134.9 MB / 1.192 GB, free: 7.898 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00186/0.2312, allocations: 0.8076 MB / 1.193 GB, free: 7.09 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009293/0.2321, allocations: 0.9172 MB / 1.193 GB, free: 6.16 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.2322, allocations: 7.875 kB / 1.193 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2323, allocations: 11.86 kB / 1.194 GB, free: 6.141 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.252e-05/0.2324, allocations: 15.88 kB / 1.194 GB, free: 6.125 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.2326, allocations: 31.89 kB / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2327, allocations: 75.78 kB / 1.194 GB, free: 6.02 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2328, allocations: 19.98 kB / 1.194 GB, free: 6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.233, allocations: 43.78 kB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.233, allocations: 31.84 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.2331, allocations: 8 kB / 1.194 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.117e-05/0.2331, allocations: 8 kB / 1.194 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2331, allocations: 15.94 kB / 1.194 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.2331, allocations: 31.8 kB / 1.194 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.2333, allocations: 83.88 kB / 1.194 GB, free: 5.781 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2333, allocations: 8 kB / 1.194 GB, free: 5.773 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2333, allocations: 0 / 1.194 GB, free: 5.773 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2333, allocations: 0 / 1.194 GB, free: 5.773 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.0004851/0.2338, allocations: 314 kB / 1.194 GB, free: 5.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2338, allocations: 12.03 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.2338, allocations: 38.69 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.234, allocations: 24.81 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.2341, allocations: 144.4 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2342, allocations: 4.375 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2342, allocations: 4.375 kB / 1.194 GB, free: 5.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.2343, allocations: 66.17 kB / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2343, allocations: 7.875 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2344, allocations: 4 kB / 1.194 GB, free: 5.098 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2344, allocations: 3.984 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.2344, allocations: 31.98 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.2348, allocations: 291.7 kB / 1.195 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.2349, allocations: 50.56 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.2349, allocations: 21 kB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2349, allocations: 0 / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.2349, allocations: 30.56 kB / 1.195 GB, free: 4.613 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2349, allocations: 0 / 1.195 GB, free: 4.613 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.000223/0.2352, allocations: 77.66 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2352, allocations: 51.41 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.2353, allocations: 135.2 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.2353, allocations: 29.7 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.2353, allocations: 96.12 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.2353, allocations: 13.36 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.2354, allocations: 21.7 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.2354, allocations: 314.8 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/0.2355, allocations: 23.98 kB / 1.196 GB, free: 3.816 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.2355, allocations: 15.98 kB / 1.196 GB, free: 3.801 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.2355, allocations: 24.84 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2356, allocations: 4 kB / 1.196 GB, free: 3.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.975e-05/0.2356, allocations: 65.58 kB / 1.196 GB, free: 3.699 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2356, allocations: 4 kB / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2356, allocations: 4 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2357, allocations: 0 / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.2357, allocations: 11.98 kB / 1.196 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2357, allocations: 0 / 1.196 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.2358, allocations: 11.94 kB / 1.196 GB, free: 3.668 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.2358, allocations: 7.938 kB / 1.196 GB, free: 3.66 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.462e-05/0.2358, allocations: 114.9 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.2358, allocations: 3.938 kB / 1.196 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.2359, allocations: 12.34 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2359, allocations: 7.984 kB / 1.196 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2359, allocations: 0 / 1.196 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2359, allocations: 0 / 1.196 GB, free: 3.508 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.2361, allocations: 160.6 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2361, allocations: 4 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.2361, allocations: 3.938 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2361, allocations: 7.938 kB / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2361, allocations: 0 / 1.196 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2361, allocations: 4 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2361, allocations: 0 / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.2362, allocations: 159.8 kB / 1.196 GB, free: 3.117 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.2362, allocations: 19.91 kB / 1.196 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2362, allocations: 4 kB / 1.196 GB, free: 3.094 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.405e-05/0.2363, allocations: 7.984 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.2363, allocations: 7.984 kB / 1.196 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.2363, allocations: 0 / 1.196 GB, free: 3.078 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.2364, allocations: 112.8 kB / 1.196 GB, free: 2.969 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2364, allocations: 4 kB / 1.196 GB, free: 2.965 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001478/0.2365, allocations: 11.95 kB / 1.196 GB, free: 2.953 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.0003921/0.2369, allocations: 0.689 MB / 1.197 GB, free: 2.238 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.237, allocations: 31.98 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.237, allocations: 4 kB / 1.197 GB, free: 2.203 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.2371, allocations: 19.92 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2373, allocations: 4 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.2382, allocations: 1.381 MB / 1.198 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.2388, allocations: 0.6885 MB / 1.199 GB, free: 8 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.2388, allocations: 11.8 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.2389, allocations: 23.38 kB / 1.199 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of SimCode: time 4.41e-07/0.2389, allocations: 0 / 1.199 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.2533, allocations: 2.111 MB / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.253/6.507, allocations: 14.45 kB / 1.201 GB, free: 13.99 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 10.876342503353953] Failed to read output from testmodel.py, exit status != 0: 6.582798418588936 6.591712624 6.356730404 Calling exit ...