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.001038/0.001038, allocations: 84.45 kB / 19.15 MB, free: 0.7695 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.0009478/0.0009478, allocations: 162 kB / 22.43 MB, free: 2.145 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.8704/0.8704, allocations: 177.2 MB / 202.8 MB, free: 5.758 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.6772/0.6772, allocations: 154.7 MB / 413.9 MB, free: 0.7305 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.0008671/0.0008671, allocations: 63.91 kB / 0.6184 GB, free: 13.57 MB / 0.5886 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.4645/0.4653, allocations: 102 MB / 0.7179 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001731/0.4671, allocations: 0.8229 MB / 0.7187 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.4681, allocations: 0.9238 MB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.4682, allocations: 2.438 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.4683, allocations: 15.08 kB / 0.7197 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.884e-05/0.4684, allocations: 19.14 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.4686, allocations: 40.47 kB / 0.7197 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.4687, allocations: 101 kB / 0.7198 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.4689, allocations: 39.3 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.4691, allocations: 61.28 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.4692, allocations: 32.33 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.4692, allocations: 12.06 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.4693, allocations: 14.77 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.4693, allocations: 25.59 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.4693, allocations: 30.08 kB / 0.72 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.4695, allocations: 117.7 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4695, allocations: 0 / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.517e-06/0.4695, allocations: 1.125 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4695, allocations: 0 / 0.7201 GB, free: 21.86 MB / 0.6355 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.000435/0.47, allocations: 340.6 kB / 0.7205 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.47, allocations: 9.156 kB / 0.7205 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.47, allocations: 38.95 kB / 0.7205 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.4702, allocations: 17.75 kB / 0.7205 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.4704, allocations: 155.6 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4704, allocations: 3.859 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4704, allocations: 9.281 kB / 0.7207 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.4706, allocations: 87.78 kB / 0.7208 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4706, allocations: 3.938 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4706, allocations: 1.062 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4706, allocations: 1.094 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.4707, allocations: 73.86 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.4711, allocations: 300.9 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.4713, allocations: 65.25 kB / 0.7212 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.4713, allocations: 35.84 kB / 0.7212 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4714, allocations: 1.25 kB / 0.7212 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.4714, allocations: 36.38 kB / 0.7213 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4714, allocations: 0 / 0.7213 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002944/0.4717, allocations: 111.3 kB / 0.7214 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.4717, allocations: 53.47 kB / 0.7214 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.4718, allocations: 140.6 kB / 0.7216 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.4718, allocations: 31.2 kB / 0.7216 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.4718, allocations: 103.5 kB / 0.7217 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.4718, allocations: 14.48 kB / 0.7217 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.4719, allocations: 24.08 kB / 0.7217 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.4719, allocations: 316.1 kB / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.472, allocations: 30.94 kB / 0.7221 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.472, allocations: 32.28 kB / 0.7221 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.4721, allocations: 59.23 kB / 0.7221 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4721, allocations: 4 kB / 0.7221 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001456/0.4723, allocations: 95.78 kB / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4723, allocations: 5.312 kB / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4723, allocations: 1.875 kB / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4723, allocations: 0 / 0.7222 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.4724, allocations: 15.97 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4724, allocations: 7.938 kB / 0.7223 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.4725, allocations: 27.48 kB / 0.7223 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4725, allocations: 1.672 kB / 0.7223 GB, free: 20.1 MB / 0.6355 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 5.433e-05/0.4725, allocations: 116.8 kB / 0.7224 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.4725, allocations: 7.203 kB / 0.7224 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.4726, allocations: 12.09 kB / 0.7224 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4726, allocations: 1.5 kB / 0.7224 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4726, allocations: 3.938 kB / 0.7224 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4726, allocations: 0.7969 kB / 0.7224 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.4727, allocations: 162.4 kB / 0.7226 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4727, allocations: 3.984 kB / 0.7226 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.4727, allocations: 12.19 kB / 0.7226 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4727, allocations: 0.875 kB / 0.7226 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.4727, allocations: 1.422 kB / 0.7226 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.4727, allocations: 0 / 0.7226 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4727, allocations: 5.062 kB / 0.7226 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.4729, allocations: 194.5 kB / 0.7228 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.4729, allocations: 7.719 kB / 0.7228 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.4729, allocations: 2.156 kB / 0.7228 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.473, allocations: 14.45 kB / 0.7228 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.473, allocations: 17.36 kB / 0.7228 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.473, allocations: 1.828 kB / 0.7228 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.4731, allocations: 104.1 kB / 0.7229 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4731, allocations: 0 / 0.7229 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001478/0.4732, allocations: 10.41 kB / 0.7229 GB, free: 19.53 MB / 0.6355 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.000281/0.4735, allocations: 0.7282 MB / 0.7237 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.4737, allocations: 65.06 kB / 0.7237 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4737, allocations: 0 / 0.7237 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.4738, allocations: 29.77 kB / 0.7237 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.474, allocations: 27.33 kB / 0.7238 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.475, allocations: 1.481 MB / 0.7252 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.4751, allocations: 85.95 kB / 0.7253 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.4751, allocations: 8.047 kB / 0.7253 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.4752, allocations: 28.12 kB / 0.7253 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.4752, allocations: 0 / 0.7253 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.4915, allocations: 2.907 MB / 0.7282 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.428/6.919, allocations: 11.98 kB / 0.7282 GB, free: 16.49 MB / 0.6355 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.612321989028715] Failed to read output from testmodel.py, exit status != 0: 6.996418164926581 7.005721188 6.534424133 Calling exit ...