Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007791/0.0007791, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00104/0.00104, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.899/0.899, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7472/0.7472, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.744e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.00157/0.001598, allocations: 0.8141 MB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000984/0.002582, allocations: 0.9366 MB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.002669, allocations: 4 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.00279, allocations: 7.875 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.002829, allocations: 19.78 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.003068, allocations: 35.97 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.003181, allocations: 103.7 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.003335, allocations: 35.95 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.003569, allocations: 67.75 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.003642, allocations: 27.91 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.003666, allocations: 8 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.003721, allocations: 19.94 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.003743, allocations: 19.91 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.003775, allocations: 19.98 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.003945, allocations: 103.6 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003946, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.534e-06/0.003949, allocations: 3.984 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.003953, allocations: 3.938 kB / 0.6203 GB, free: 11.38 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.0004363/0.004389, allocations: 337.9 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.00443, allocations: 8.031 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.004462, allocations: 38.75 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.004574, allocations: 24.83 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.004837, allocations: 147.6 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.004848, allocations: 8.375 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.004859, allocations: 4.375 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.005029, allocations: 94.2 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005037, allocations: 192 / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005049, allocations: 384 / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.00506, allocations: 8.125 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.005193, allocations: 71.88 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.00559, allocations: 303.7 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.005747, allocations: 66.53 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.005811, allocations: 32.94 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.00583, allocations: 3.984 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.005854, allocations: 30.56 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.005856, allocations: 0 / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002846/0.00614, allocations: 121.5 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.006172, allocations: 55.39 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.006252, allocations: 132.3 kB / 0.6218 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.006265, allocations: 33.64 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.006322, allocations: 108 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.00634, allocations: 15.83 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.006372, allocations: 21.72 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.006457, allocations: 322.8 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.006519, allocations: 31.97 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.006574, allocations: 27.98 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.006681, allocations: 60.8 kB / 0.6224 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.006687, allocations: 0 / 0.6224 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001389/0.006826, allocations: 97.55 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.006839, allocations: 11.98 kB / 0.6225 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.006844, allocations: 0 / 0.6225 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.006858, allocations: 0 / 0.6225 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.006923, allocations: 12.17 kB / 0.6225 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.006929, allocations: 4 kB / 0.6225 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.006976, allocations: 11.98 kB / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.006985, allocations: 7.938 kB / 0.6225 GB, free: 8.98 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.85e-05/0.007054, allocations: 118.8 kB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.007069, allocations: 15.94 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.007092, allocations: 8.344 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007095, allocations: 4 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.007099, allocations: 0 / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007103, allocations: 0 / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.007229, allocations: 152.7 kB / 0.6228 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.00723, allocations: 0 / 0.6228 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.007263, allocations: 15.92 kB / 0.6228 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007265, allocations: 3.984 kB / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.007274, allocations: 0 / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007275, allocations: 0 / 0.6228 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007275, allocations: 4 kB / 0.6228 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.007444, allocations: 195.6 kB / 0.623 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007455, allocations: 11.89 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.00747, allocations: 0 / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.007528, allocations: 15.97 kB / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.007576, allocations: 11.98 kB / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.007579, allocations: 0 / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.007631, allocations: 111.2 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007631, allocations: 0 / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001484/0.007779, allocations: 15.88 kB / 0.6231 GB, free: 8.238 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.0003352/0.008114, allocations: 0.7163 MB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.008275, allocations: 67.94 kB / 0.6239 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008276, allocations: 0 / 0.6239 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.008336, allocations: 39.84 kB / 0.624 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.008529, allocations: 15.89 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.009714, allocations: 1.476 MB / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.506e-05/0.00978, allocations: 87.12 kB / 0.6255 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.009827, allocations: 4 kB / 0.6255 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.009887, allocations: 32.48 kB / 0.6255 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.009888, allocations: 0 / 0.6255 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.02493, allocations: 2.918 MB / 0.6284 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.688, allocations: 10.16 kB / 0.6284 GB, free: 2.91 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.41769954469055] Failed to read output from testmodel.py, exit status != 0: 6.767527152784169 6.776194875 6.770560342 Calling exit ...