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.00141/0.00141, allocations: 72.45 kB / 19.02 MB, free: 1.105 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.002191/0.002191, allocations: 159.2 kB / 22.29 MB, free: 3.516 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 1.504/1.504, allocations: 177.2 MB / 202.7 MB, free: 4.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.26/1.26, allocations: 154.7 MB / 413.8 MB, free: 3.137 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: 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.002043/0.002043, allocations: 77.72 kB / 0.6181 GB, free: 1.078 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2175, allocations: 102 MB / 0.7177 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.002168/0.2197, allocations: 0.8174 MB / 0.7185 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.221, allocations: 0.925 MB / 0.7194 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.47e-05/0.221, allocations: 4 kB / 0.7194 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2212, allocations: 11.81 kB / 0.7194 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.2212, allocations: 19.8 kB / 0.7195 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.2214, allocations: 39.89 kB / 0.7195 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2216, allocations: 99.7 kB / 0.7196 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2217, allocations: 36.19 kB / 0.7196 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.2219, allocations: 63.81 kB / 0.7197 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.222, allocations: 43.78 kB / 0.7197 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.222, allocations: 8 kB / 0.7197 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.2221, allocations: 8 kB / 0.7197 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.2221, allocations: 27.86 kB / 0.7198 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.2222, allocations: 27.86 kB / 0.7198 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.2223, allocations: 99.58 kB / 0.7199 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2223, allocations: 0 / 0.7199 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2223, allocations: 0 / 0.7199 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.2223, allocations: 0 / 0.7199 GB, free: 8.98 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006929/0.223, allocations: 341.9 kB / 0.7202 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2231, allocations: 12.03 kB / 0.7202 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.2231, allocations: 38.73 kB / 0.7203 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2233, allocations: 16.89 kB / 0.7203 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.2236, allocations: 150.3 kB / 0.7204 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2236, allocations: 8.375 kB / 0.7204 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2236, allocations: 4.375 kB / 0.7204 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.2239, allocations: 90.2 kB / 0.7205 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2239, allocations: 11.88 kB / 0.7205 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2239, allocations: 3.984 kB / 0.7205 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2239, allocations: 0 / 0.7205 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.2242, allocations: 67.95 kB / 0.7206 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.2248, allocations: 299.7 kB / 0.7209 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.225, allocations: 66.53 kB / 0.7209 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.2252, allocations: 48.84 kB / 0.721 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2252, allocations: 0 / 0.721 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2252, allocations: 34.56 kB / 0.721 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2252, allocations: 0 / 0.721 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004807/0.2257, allocations: 117.6 kB / 0.7211 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.2257, allocations: 51.41 kB / 0.7212 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2259, allocations: 147.5 kB / 0.7213 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2259, allocations: 29.7 kB / 0.7214 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.226, allocations: 108 kB / 0.7215 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.226, allocations: 7.953 kB / 0.7215 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.2261, allocations: 17.72 kB / 0.7215 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2263, allocations: 318.8 kB / 0.7218 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.2264, allocations: 43.91 kB / 0.7218 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.2266, allocations: 35.91 kB / 0.7219 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.2268, allocations: 52.81 kB / 0.7219 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2268, allocations: 0 / 0.7219 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002792/0.2271, allocations: 97.59 kB / 0.722 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2271, allocations: 8 kB / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2271, allocations: 0 / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2271, allocations: 0 / 0.722 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2272, allocations: 15.92 kB / 0.722 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2272, allocations: 3.938 kB / 0.722 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2273, allocations: 19.94 kB / 0.7221 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2273, allocations: 7.984 kB / 0.7221 GB, free: 6.555 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 (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 0.0001042/0.2274, allocations: 113.8 kB / 0.7222 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.2275, allocations: 8 kB / 0.7222 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.2275, allocations: 12.34 kB / 0.7222 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2275, allocations: 0 / 0.7222 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2275, allocations: 3.938 kB / 0.7222 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2275, allocations: 0 / 0.7222 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.2277, allocations: 160.6 kB / 0.7223 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2277, allocations: 0 / 0.7223 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.2278, allocations: 11.98 kB / 0.7224 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2278, allocations: 0 / 0.7224 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.2278, allocations: 192 / 0.7224 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2278, allocations: 12 kB / 0.7224 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2278, allocations: 3.938 kB / 0.7224 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.2281, allocations: 187.4 kB / 0.7226 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.2282, allocations: 7.984 kB / 0.7226 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2282, allocations: 0 / 0.7226 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2283, allocations: 11.98 kB / 0.7226 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.2284, allocations: 19.91 kB / 0.7226 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.2284, allocations: 4 kB / 0.7226 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.617e-05/0.2285, allocations: 105.3 kB / 0.7227 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2285, allocations: 0 / 0.7227 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002481/0.2287, allocations: 19.89 kB / 0.7227 GB, free: 5.816 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 (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.0007324/0.2295, allocations: 0.7163 MB / 0.7234 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.2298, allocations: 67.88 kB / 0.7235 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2298, allocations: 0 / 0.7235 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2299, allocations: 32.27 kB / 0.7235 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.2302, allocations: 19.86 kB / 0.7235 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.2322, allocations: 1.479 MB / 0.725 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.2323, allocations: 83.31 kB / 0.725 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.704e-05/0.2324, allocations: 7.75 kB / 0.7251 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.2324, allocations: 28.48 kB / 0.7251 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2324, allocations: 0 / 0.7251 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.2636, allocations: 2.905 MB / 0.7279 GB, free: 484 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.62, allocations: 8.5 kB / 0.7279 GB, free: 480 kB / 0.6198 GB " [Timeout remaining time 648] (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: 15.741655680991244] Failed to read output from testmodel.py, exit status != 0: 11.729703940000036 11.755617905 11.529938849 Calling exit ...