Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.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.000873/0.000873, 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.001048/0.001048, allocations: 211.1 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.9684/0.9684, allocations: 230.6 MB / 256 MB, free: 9.621 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.03739/0.03739, allocations: 12.18 MB / 324.6 MB, free: 6.109 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.0004868/0.0004868, allocations: 31.94 kB / 384.1 MB, free: 10.53 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.661/1.661, allocations: 353.8 MB / 0.7787 GB, free: 4.59 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.Less,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Less",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.001447/0.001447, allocations: 126.8 kB / 1.06 GB, free: 24.8 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2279, allocations: 134.9 MB / 1.192 GB, free: 7.453 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Less): time 0.001893/0.2298, allocations: 0.8193 MB / 1.193 GB, free: 6.633 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2308, allocations: 0.9225 MB / 1.193 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.2309, allocations: 7.938 kB / 1.193 GB, free: 5.691 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.231, allocations: 11.86 kB / 1.193 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.2311, allocations: 15.81 kB / 1.193 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.2313, allocations: 39.94 kB / 1.193 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2314, allocations: 107.7 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2315, allocations: 31.95 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2317, allocations: 51.78 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.2317, allocations: 35.84 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2317, allocations: 8 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.2318, allocations: 8 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.2318, allocations: 23.92 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.2318, allocations: 31.8 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.232, allocations: 103.8 kB / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.232, allocations: 0 / 1.194 GB, free: 5.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.232, allocations: 4 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.232, allocations: 0 / 1.194 GB, free: 5.227 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004627/0.2324, allocations: 341.9 kB / 1.194 GB, free: 4.859 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.2325, allocations: 12.02 kB / 1.194 GB, free: 4.848 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.2325, allocations: 38.75 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.2326, allocations: 16.88 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2328, allocations: 146.4 kB / 1.194 GB, free: 4.617 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2329, allocations: 8.375 kB / 1.194 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2329, allocations: 4.375 kB / 1.194 GB, free: 4.605 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.233, allocations: 90.2 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.233, allocations: 3.938 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.233, allocations: 7.938 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.233, allocations: 0 / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.2332, allocations: 67.94 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.2336, allocations: 307.7 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.2337, allocations: 62.53 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.2338, allocations: 36.92 kB / 1.195 GB, free: 3.98 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.2338, allocations: 0 / 1.195 GB, free: 3.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2338, allocations: 34.56 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2338, allocations: 7.938 kB / 1.195 GB, free: 3.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002692/0.2341, allocations: 121.4 kB / 1.195 GB, free: 3.805 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2341, allocations: 55.41 kB / 1.195 GB, free: 3.738 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.2342, allocations: 139.2 kB / 1.195 GB, free: 3.594 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2342, allocations: 29.7 kB / 1.195 GB, free: 3.559 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.2342, allocations: 108.1 kB / 1.195 GB, free: 3.449 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.2342, allocations: 11.84 kB / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.2343, allocations: 25.7 kB / 1.195 GB, free: 3.406 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.2343, allocations: 318.8 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.2344, allocations: 27.97 kB / 1.196 GB, free: 3.059 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.2345, allocations: 31.97 kB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.2346, allocations: 52.81 kB / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2346, allocations: 0 / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001338/0.2347, allocations: 105.5 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2347, allocations: 4 kB / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2347, allocations: 0 / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2347, allocations: 4 kB / 1.196 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.2348, allocations: 11.98 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2348, allocations: 3.938 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.2348, allocations: 23.97 kB / 1.196 GB, free: 2.816 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.2349, allocations: 0 / 1.196 GB, free: 2.816 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 (5): * Single equations (assignments): 5 * 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 5.978e-05/0.2349, allocations: 117.8 kB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2349, allocations: 3.953 kB / 1.196 GB, free: 2.688 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.235, allocations: 16.33 kB / 1.196 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.235, allocations: 0 / 1.196 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.235, allocations: 3.938 kB / 1.196 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.235, allocations: 0 / 1.196 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2351, allocations: 152.7 kB / 1.196 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2351, allocations: 4.188 kB / 1.196 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.2351, allocations: 19.92 kB / 1.196 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2351, allocations: 4.188 kB / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.2351, allocations: 0 / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.2351, allocations: 0 / 1.196 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2351, allocations: 3.938 kB / 1.196 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2353, allocations: 195.4 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.2353, allocations: 3.953 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2353, allocations: 0 / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.006e-05/0.2354, allocations: 31.91 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.2354, allocations: 11.92 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.2354, allocations: 0 / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.2355, allocations: 101 kB / 1.197 GB, free: 2.086 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2355, allocations: 0 / 1.197 GB, free: 2.086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00015/0.2356, allocations: 19.88 kB / 1.197 GB, free: 2.066 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 (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 Backend phase and start with SimCode phase: time 0.0003664/0.236, allocations: 0.7241 MB / 1.197 GB, free: 1.316 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.2361, allocations: 63.94 kB / 1.197 GB, free: 1.254 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2361, allocations: 0 / 1.197 GB, free: 1.254 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/0.2362, allocations: 35.91 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.2364, allocations: 21.47 kB / 1.198 GB, free: 1.199 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.2375, allocations: 1.474 MB / 1.199 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.784e-05/0.2376, allocations: 79.33 kB / 1.199 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.2376, allocations: 11.73 kB / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.2377, allocations: 27.44 kB / 1.199 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of SimCode: time 5.01e-07/0.2377, allocations: 0 / 1.199 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.2522, allocations: 2.807 MB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.488/6.74, allocations: 5.781 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Less.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.110946726985276] Failed to read output from testmodel.py, exit status != 0: 6.817818811163306 6.832592792 6.596646329 Calling exit ...