Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008077/0.0008077, 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.0008815/0.0008815, 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.9522/0.9522, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7337/0.7337, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.447e-06/3.447e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.792e-05, allocations: 6.797 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001562/0.00159, allocations: 0.8221 MB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.00257, allocations: 0.921 MB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.002676, allocations: 7.938 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.002808, allocations: 15.81 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.00285, allocations: 19.84 kB / 0.6199 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.003075, allocations: 35.91 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.003203, allocations: 99.7 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.003344, allocations: 43.94 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.003517, allocations: 63.81 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.003575, allocations: 23.91 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.003594, allocations: 8 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.00364, allocations: 15.94 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.003657, allocations: 23.91 kB / 0.6202 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.003685, allocations: 19.94 kB / 0.6202 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.003832, allocations: 107.7 kB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.003834, allocations: 0 / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003836, allocations: 0 / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.003841, allocations: 3.938 kB / 0.6203 GB, free: 11.47 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004832/0.004324, allocations: 337.9 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.004367, allocations: 9.469 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.004403, allocations: 38.75 kB / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.004513, allocations: 24.83 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.004739, allocations: 149.5 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.00475, allocations: 384 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.004764, allocations: 12.38 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.004942, allocations: 90.2 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.004949, allocations: 192 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.00496, allocations: 384 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.00497, allocations: 12.12 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.005176, allocations: 67.94 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.005609, allocations: 307.7 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.005765, allocations: 62.58 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.005828, allocations: 36.83 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.005848, allocations: 0 / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.00587, allocations: 34.56 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005871, allocations: 0 / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.00616, allocations: 117.6 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.006188, allocations: 51.41 kB / 0.6216 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.006266, allocations: 135.5 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.006278, allocations: 33.64 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.006331, allocations: 104 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.006348, allocations: 15.89 kB / 0.6219 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.006378, allocations: 21.66 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.006458, allocations: 322.8 kB / 0.6222 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.006518, allocations: 27.98 kB / 0.6222 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.006573, allocations: 31.97 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.006677, allocations: 64.8 kB / 0.6223 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006679, allocations: 0 / 0.6223 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000142/0.006821, allocations: 89.61 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.006835, allocations: 10.34 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.00684, allocations: 0 / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006852, allocations: 0 / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.006919, allocations: 24.05 kB / 0.6224 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.006928, allocations: 3.984 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.006978, allocations: 15.98 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.006987, allocations: 7.938 kB / 0.6224 GB, free: 9.062 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 (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 6.392e-05/0.007051, allocations: 114.8 kB / 0.6226 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.007067, allocations: 7.953 kB / 0.6226 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.007091, allocations: 12.33 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.007092, allocations: 0 / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.007098, allocations: 4.188 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.0071, allocations: 4 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.007227, allocations: 160.7 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007228, allocations: 0 / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.007259, allocations: 11.98 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.007259, allocations: 0 / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.007266, allocations: 0 / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.007268, allocations: 3.984 kB / 0.6228 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007269, allocations: 0 / 0.6228 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.007434, allocations: 195.3 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.007446, allocations: 7.891 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.00746, allocations: 8 kB / 0.623 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.00752, allocations: 15.97 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.007565, allocations: 11.98 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.007568, allocations: 0 / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.007611, allocations: 103.2 kB / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007611, allocations: 0 / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001472/0.007758, allocations: 15.94 kB / 0.6231 GB, free: 8.324 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 (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.0003626/0.008121, allocations: 0.7202 MB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.008284, allocations: 63.94 kB / 0.6239 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.008286, allocations: 0 / 0.6239 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.008348, allocations: 35.97 kB / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.008557, allocations: 15.84 kB / 0.6239 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.009729, allocations: 1.483 MB / 0.6254 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.329e-05/0.009782, allocations: 83.17 kB / 0.6254 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.487e-05/0.009817, allocations: 4 kB / 0.6254 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.009873, allocations: 32.42 kB / 0.6255 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.009874, allocations: 0 / 0.6255 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.0249, allocations: 2.923 MB / 0.6283 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.71, allocations: 10.03 kB / 0.6283 GB, free: 2.992 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Less.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.52885149139911] Failed to read output from testmodel.py, exit status != 0: 6.789814829826355 6.79925118 6.793121136 Calling exit ...