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.0007972/0.0007972, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008417/0.0008417, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9493/0.9493, allocations: 230.6 MB / 256 MB, free: 9.629 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.0366/0.0366, allocations: 12.18 MB / 324.6 MB, free: 6.297 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.0004358/0.0004358, 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.653/1.653, allocations: 353.8 MB / 0.7787 GB, free: 3.141 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.001451/0.001451, allocations: 132.1 kB / 1.06 GB, free: 25.06 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2236, allocations: 134.9 MB / 1.192 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Less): time 0.002043/0.2257, allocations: 0.866 MB / 1.193 GB, free: 7.016 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2268, allocations: 0.9327 MB / 1.194 GB, free: 6.07 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.2269, allocations: 7.938 kB / 1.194 GB, free: 6.062 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.227, allocations: 11.88 kB / 1.194 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.2271, allocations: 15.86 kB / 1.194 GB, free: 6.035 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2273, allocations: 35.84 kB / 1.194 GB, free: 6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2275, allocations: 107.7 kB / 1.194 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2276, allocations: 39.97 kB / 1.194 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2277, allocations: 51.78 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.2278, allocations: 43.83 kB / 1.194 GB, free: 5.762 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2278, allocations: 8 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.2279, allocations: 12 kB / 1.194 GB, free: 5.742 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2279, allocations: 15.94 kB / 1.194 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.2279, allocations: 39.73 kB / 1.194 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.2281, allocations: 107.8 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2281, allocations: 0 / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2281, allocations: 0 / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2281, allocations: 4 kB / 1.194 GB, free: 5.578 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.0005034/0.2286, allocations: 333.9 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2286, allocations: 12.03 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.2287, allocations: 38.69 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.2288, allocations: 20.88 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.2291, allocations: 146.3 kB / 1.195 GB, free: 4.973 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2291, allocations: 8.375 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2291, allocations: 4.375 kB / 1.195 GB, free: 4.961 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.2293, allocations: 87.62 kB / 1.195 GB, free: 4.871 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2293, allocations: 3.938 kB / 1.195 GB, free: 4.867 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2293, allocations: 4 kB / 1.195 GB, free: 4.863 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2293, allocations: 4 kB / 1.195 GB, free: 4.859 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2294, allocations: 71.88 kB / 1.195 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.2298, allocations: 319.6 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.2299, allocations: 66.53 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.23, allocations: 36.92 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.23, allocations: 0 / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.23, allocations: 34.56 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.23, allocations: 0 / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0003435/0.2304, allocations: 129.5 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.2304, allocations: 51.41 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.173e-05/0.2305, allocations: 139.4 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2305, allocations: 29.7 kB / 1.196 GB, free: 3.902 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.2306, allocations: 100.1 kB / 1.196 GB, free: 3.801 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.2306, allocations: 15.83 kB / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.2306, allocations: 21.7 kB / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.2307, allocations: 318.8 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.2308, allocations: 35.97 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-05/0.2308, allocations: 31.91 kB / 1.196 GB, free: 3.371 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.2309, allocations: 60.88 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2309, allocations: 0 / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001431/0.2311, allocations: 109.5 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2311, allocations: 4 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.2311, allocations: 4 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2311, allocations: 0 / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.2312, allocations: 11.98 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2312, allocations: 3.938 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.2312, allocations: 15.97 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2312, allocations: 0 / 1.196 GB, free: 3.156 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 0.0001415/0.2314, allocations: 121.8 kB / 1.196 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.2314, allocations: 3.953 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.2314, allocations: 16.33 kB / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2314, allocations: 0 / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2314, allocations: 3.938 kB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2314, allocations: 0 / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.2315, allocations: 156.7 kB / 1.197 GB, free: 2.801 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2315, allocations: 3.984 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.2316, allocations: 15.98 kB / 1.197 GB, free: 2.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2316, allocations: 4.188 kB / 1.197 GB, free: 2.777 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2316, allocations: 0 / 1.197 GB, free: 2.777 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2316, allocations: 3.938 kB / 1.197 GB, free: 2.773 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2316, allocations: 3.938 kB / 1.197 GB, free: 2.77 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.2318, allocations: 187.4 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.2318, allocations: 11.95 kB / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.2318, allocations: 0 / 1.197 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.2319, allocations: 20.03 kB / 1.197 GB, free: 2.539 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.2319, allocations: 15.92 kB / 1.197 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.232, allocations: 7.984 kB / 1.197 GB, free: 2.516 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.232, allocations: 100.8 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.232, allocations: 0 / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001471/0.2322, allocations: 15.94 kB / 1.197 GB, free: 2.402 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.0003625/0.2325, allocations: 0.7202 MB / 1.198 GB, free: 1.656 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.2327, allocations: 63.95 kB / 1.198 GB, free: 1.594 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2327, allocations: 0 / 1.198 GB, free: 1.594 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.2328, allocations: 39.91 kB / 1.198 GB, free: 1.555 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.233, allocations: 19.8 kB / 1.198 GB, free: 1.535 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2345, allocations: 1.472 MB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2347, allocations: 0.6963 MB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.2347, allocations: 7.75 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.2348, allocations: 31.36 kB / 1.2 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of SimCode: time 6.71e-07/0.2348, allocations: 0 / 1.2 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.2537, allocations: 2.336 MB / 1.202 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.258/6.511, allocations: 3.938 kB / 1.202 GB, free: 13.02 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: 10.83373075723648] Failed to read output from testmodel.py, exit status != 0: 6.586502039805055 6.596252629 6.366102062 Calling exit ...