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.0008168/0.0008168, allocations: 101.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.0008965/0.0008965, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9714/0.9714, allocations: 230.6 MB / 256 MB, free: 9.594 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.03941/0.03941, allocations: 12.19 MB / 324.6 MB, free: 6.082 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.0004362/0.0004362, allocations: 35.94 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.661/1.661, allocations: 353.8 MB / 0.7787 GB, free: 4.574 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.001402/0.001402, allocations: 118.5 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.23, allocations: 134.9 MB / 1.192 GB, free: 7.469 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001572/0.2316, allocations: 0.7859 MB / 1.192 GB, free: 6.684 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.2324, allocations: 0.9093 MB / 1.193 GB, free: 5.762 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.2325, allocations: 7.938 kB / 1.193 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.2327, allocations: 11.88 kB / 1.193 GB, free: 5.742 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.2327, allocations: 19.86 kB / 1.193 GB, free: 5.723 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2329, allocations: 23.92 kB / 1.193 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.233, allocations: 79.77 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2331, allocations: 23.97 kB / 1.194 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.2332, allocations: 35.86 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.2333, allocations: 23.86 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2333, allocations: 4 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.907e-05/0.2333, allocations: 12 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.2333, allocations: 19.91 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.2334, allocations: 23.88 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.2335, allocations: 91.83 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2335, allocations: 0 / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2335, allocations: 3.938 kB / 1.194 GB, free: 5.387 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2335, allocations: 0 / 1.194 GB, free: 5.387 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.000391/0.2339, allocations: 306 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2339, allocations: 12.03 kB / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.234, allocations: 34.75 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.2341, allocations: 24.88 kB / 1.194 GB, free: 4.977 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.2345, allocations: 138.4 kB / 1.194 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2345, allocations: 4.375 kB / 1.194 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.2345, allocations: 4.375 kB / 1.194 GB, free: 4.809 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.2346, allocations: 70.16 kB / 1.194 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2346, allocations: 3.938 kB / 1.194 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2347, allocations: 0 / 1.194 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2347, allocations: 4 kB / 1.194 GB, free: 4.727 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.745e-05/0.2347, allocations: 35.97 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.2351, allocations: 287.7 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2352, allocations: 42.55 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.2352, allocations: 18.39 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2352, allocations: 0 / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2352, allocations: 34.5 kB / 1.195 GB, free: 4.254 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2352, allocations: 3.938 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001734/0.2354, allocations: 89.73 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.2354, allocations: 51.41 kB / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.2355, allocations: 135.2 kB / 1.195 GB, free: 3.953 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.2355, allocations: 25.7 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.2356, allocations: 92.14 kB / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.2356, allocations: 7.938 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.2356, allocations: 17.72 kB / 1.195 GB, free: 3.797 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.2357, allocations: 326.8 kB / 1.195 GB, free: 3.469 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.2357, allocations: 12 kB / 1.195 GB, free: 3.457 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.2357, allocations: 19.98 kB / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.2358, allocations: 28.78 kB / 1.195 GB, free: 3.406 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2358, allocations: 0 / 1.195 GB, free: 3.406 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.112e-05/0.2359, allocations: 69.62 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2359, allocations: 4 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2359, allocations: 0 / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2359, allocations: 0 / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.236, allocations: 4 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.236, allocations: 0 / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.236, allocations: 23.94 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.236, allocations: 3.938 kB / 1.196 GB, free: 3.297 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.293e-05/0.2361, allocations: 120 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.2361, allocations: 4 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.2361, allocations: 16.34 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2361, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2361, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2361, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2362, allocations: 148.6 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2362, allocations: 4.266 kB / 1.196 GB, free: 2.953 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.2362, allocations: 11.98 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2362, allocations: 0 / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2363, allocations: 4 kB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2363, allocations: 0 / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2363, allocations: 0 / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.2364, allocations: 159.5 kB / 1.196 GB, free: 2.766 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.2364, allocations: 11.89 kB / 1.196 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2364, allocations: 7.938 kB / 1.196 GB, free: 2.746 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.2364, allocations: 7.984 kB / 1.196 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2365, allocations: 11.98 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.2365, allocations: 4 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.2365, allocations: 112.7 kB / 1.196 GB, free: 2.613 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2365, allocations: 3.938 kB / 1.196 GB, free: 2.609 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001412/0.2367, allocations: 11.95 kB / 1.196 GB, free: 2.598 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.0003264/0.237, allocations: 0.689 MB / 1.197 GB, free: 1.883 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.2371, allocations: 35.97 kB / 1.197 GB, free: 1.848 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2371, allocations: 4 kB / 1.197 GB, free: 1.844 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.2371, allocations: 19.94 kB / 1.197 GB, free: 1.824 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2373, allocations: 8 kB / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.2383, allocations: 1.373 MB / 1.198 GB, free: 376 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.108e-05/0.2384, allocations: 87.02 kB / 1.198 GB, free: 268 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.2384, allocations: 11.98 kB / 1.198 GB, free: 256 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.2384, allocations: 23.42 kB / 1.198 GB, free: 232 kB / 0.823 GB Notification: Performance of SimCode: time 7.01e-07/0.2384, allocations: 0 / 1.198 GB, free: 232 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.2549, allocations: 2.575 MB / 1.201 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.498/6.753, allocations: 5.953 kB / 1.201 GB, free: 13.78 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: 11.129336117766798] Failed to read output from testmodel.py, exit status != 0: 6.829876572825015 6.84053336 6.604950771 Calling exit ...