Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008078/0.0008078, 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.0008725/0.0008725, allocations: 209.2 kB / 22.25 MB, free: 3.586 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.9522/0.9522, allocations: 230.6 MB / 256 MB, free: 9.645 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7784/0.7784, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009047/0.0009047, allocations: 76.5 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.518, allocations: 102 MB / 0.8174 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001574/0.5196, allocations: 0.7956 MB / 0.8182 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.5205, allocations: 0.906 MB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.5206, allocations: 7.906 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.5207, allocations: 9.328 kB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.291e-05/0.5207, allocations: 13.17 kB / 0.8191 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.521, allocations: 32.25 kB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.5211, allocations: 79.14 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.5212, allocations: 22.94 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.5214, allocations: 43 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.5215, allocations: 23.92 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.5215, allocations: 7.406 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.5215, allocations: 11.38 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.5215, allocations: 12.69 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.5216, allocations: 26.64 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.5217, allocations: 82.92 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5217, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5217, allocations: 7.938 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.5217, allocations: 0 / 0.8194 GB, free: 15.88 MB / 0.6198 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.0004594/0.5222, allocations: 318.2 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5222, allocations: 7.562 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.5223, allocations: 39.12 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.5224, allocations: 17.41 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.5227, allocations: 142.5 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.5227, allocations: 5.562 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.5227, allocations: 4.828 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.5228, allocations: 66.86 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.5228, allocations: 3.938 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5228, allocations: 0 / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.5229, allocations: 5.953 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.5229, allocations: 31.31 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.5233, allocations: 278.2 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.5234, allocations: 51.62 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.5234, allocations: 14.38 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.5235, allocations: 1.188 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5235, allocations: 36.28 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5235, allocations: 0 / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000196/0.5237, allocations: 75.36 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.5237, allocations: 57.92 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.5238, allocations: 138.3 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.5238, allocations: 29.7 kB / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.5239, allocations: 104.5 kB / 0.8208 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.5239, allocations: 8.75 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.5239, allocations: 17.77 kB / 0.8208 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.524, allocations: 321.4 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-05/0.524, allocations: 14.92 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.5241, allocations: 15 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/0.5241, allocations: 35.59 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5241, allocations: 0 / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.961e-05/0.5242, allocations: 70.92 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.5242, allocations: 5.156 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5242, allocations: 4 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5243, allocations: 6.906 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.5243, allocations: 4.203 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5243, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.5244, allocations: 11.02 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.5244, allocations: 3.938 kB / 0.8213 GB, free: 14.19 MB / 0.6198 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.643e-05/0.5244, allocations: 118.1 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.5245, allocations: 7.547 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.5245, allocations: 11.92 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.5245, allocations: 1.688 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5245, allocations: 0 / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5245, allocations: 4.453 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.5246, allocations: 147.2 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5246, allocations: 0 / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.5246, allocations: 4.422 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5246, allocations: 0 / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.5247, allocations: 6.359 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5247, allocations: 4 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5247, allocations: 0.75 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.5248, allocations: 162.8 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.5248, allocations: 9.156 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.5248, allocations: 1.156 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.5249, allocations: 10.34 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.5249, allocations: 12.17 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.5249, allocations: 1.062 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.525, allocations: 103 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.525, allocations: 4 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000145/0.5251, allocations: 15.34 kB / 0.8219 GB, free: 13.63 MB / 0.6198 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.0003485/0.5255, allocations: 0.6899 MB / 0.8226 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.5256, allocations: 30.95 kB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5256, allocations: 0 / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.5256, allocations: 20.62 kB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.5259, allocations: 17.59 kB / 0.8226 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.5269, allocations: 1.377 MB / 0.824 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.527, allocations: 82.45 kB / 0.8241 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.299e-05/0.5271, allocations: 3.469 kB / 0.8241 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.5271, allocations: 30.62 kB / 0.8241 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/0.5271, allocations: 0 / 0.8241 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.5492, allocations: 2.578 MB / 0.8266 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.554, allocations: 13.28 kB / 0.8266 GB, free: 10.68 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.466966093983501] Failed to read output from testmodel.py, exit status != 0: 7.63338400516659 7.6483275 7.124031137 Calling exit ...