Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000959/0.000959, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001068/0.001068, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9047/0.9047, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7366/0.7366, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.303e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001464/0.001487, allocations: 0.796 MB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009427/0.002429, allocations: 0.8977 MB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.002529, allocations: 7.938 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.002656, allocations: 19.8 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.002687, allocations: 7.875 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.002891, allocations: 35.89 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.002999, allocations: 75.78 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003115, allocations: 19.98 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.003262, allocations: 51.83 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.003334, allocations: 23.91 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.003353, allocations: 8 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.003395, allocations: 8 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.003414, allocations: 15.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.00344, allocations: 23.92 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.003581, allocations: 75.73 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003584, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.003585, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.00359, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 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.0004462/0.004036, allocations: 321.9 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.00408, allocations: 9.469 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.004113, allocations: 38.75 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.004231, allocations: 20.88 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.004451, allocations: 141.6 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.004462, allocations: 4.375 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.004474, allocations: 4.375 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.004739, allocations: 62.23 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.004746, allocations: 4.125 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.004756, allocations: 4.375 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.004761, allocations: 4.125 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.017e-05/0.004832, allocations: 39.97 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.005186, allocations: 275.7 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.005298, allocations: 46.55 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.005329, allocations: 16.92 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.005344, allocations: 0 / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.005363, allocations: 34.56 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.005364, allocations: 4 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001929/0.005557, allocations: 81.67 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.005587, allocations: 51.41 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.005668, allocations: 135.7 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.005681, allocations: 29.7 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.005733, allocations: 96.09 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.00575, allocations: 15.88 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.00578, allocations: 17.72 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.005859, allocations: 318.8 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.005897, allocations: 16 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.005924, allocations: 19.98 kB / 0.6219 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.005982, allocations: 28.84 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.005984, allocations: 0 / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.868e-05/0.006073, allocations: 65.89 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.006087, allocations: 8 kB / 0.622 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006092, allocations: 0 / 0.622 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006104, allocations: 4.031 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.006162, allocations: 4 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.006168, allocations: 4 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.006204, allocations: 11.94 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.006211, allocations: 4 kB / 0.622 GB, free: 9.484 MB / 0.5886 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.973e-05/0.006281, allocations: 122.8 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.006297, allocations: 7.953 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.006322, allocations: 8.344 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006324, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.006328, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006331, allocations: 0 / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.006452, allocations: 156.7 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006453, allocations: 4 kB / 0.6223 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.006477, allocations: 15.92 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006479, allocations: 0 / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.006486, allocations: 3.938 kB / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006487, allocations: 0 / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.006488, allocations: 0 / 0.6223 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.006597, allocations: 159.4 kB / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006606, allocations: 4 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.00662, allocations: 0 / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.00667, allocations: 15.98 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.006715, allocations: 11.98 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.006719, allocations: 0 / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.006765, allocations: 105.6 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006765, allocations: 4 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001537/0.006919, allocations: 7.953 kB / 0.6226 GB, free: 8.797 MB / 0.5886 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.0003176/0.007236, allocations: 0.6967 MB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.007339, allocations: 31.97 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.00734, allocations: 8 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.007368, allocations: 15.94 kB / 0.6233 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.007567, allocations: 8 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.008541, allocations: 1.37 MB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.182e-05/0.008593, allocations: 77.73 kB / 0.6247 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.008625, allocations: 7.984 kB / 0.6247 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.008678, allocations: 28.48 kB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.008679, allocations: 0 / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.02597, allocations: 2.707 MB / 0.6274 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.732, allocations: 6.328 kB / 0.6274 GB, free: 3.875 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.507571310736239] Failed to read output from testmodel.py, exit status != 0: 6.814276267774403 6.828497974 6.822890331 Calling exit ...