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.0006841/0.0006841, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.00077/0.00077, 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.9102/0.9102, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.7113/0.7113, allocations: 155 MB / 414.2 MB, free: 488 kB / 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: 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.001294/0.001294, allocations: 68.89 kB / 0.6187 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4552, allocations: 102 MB / 0.7183 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001714/0.4569, allocations: 0.8303 MB / 0.7191 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.4581, allocations: 0.9228 MB / 0.72 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4582, allocations: 6.188 kB / 0.72 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.4583, allocations: 11.38 kB / 0.72 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.4584, allocations: 14.42 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.4586, allocations: 45.81 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.4588, allocations: 101.3 kB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.4589, allocations: 35.42 kB / 0.7202 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.4591, allocations: 59.55 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.4592, allocations: 37.86 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.4592, allocations: 8.188 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.4593, allocations: 9.469 kB / 0.7203 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.4593, allocations: 26.05 kB / 0.7204 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.4593, allocations: 31.23 kB / 0.7204 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.4595, allocations: 112.8 kB / 0.7205 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4595, allocations: 0 / 0.7205 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4595, allocations: 5.062 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.4595, allocations: 0 / 0.7205 GB, free: 21.62 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.0004859/0.46, allocations: 344.9 kB / 0.7208 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.4601, allocations: 10.69 kB / 0.7208 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.4601, allocations: 42.23 kB / 0.7209 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.4603, allocations: 18.06 kB / 0.7209 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4605, allocations: 152.8 kB / 0.721 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4605, allocations: 7.688 kB / 0.7211 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4605, allocations: 8.781 kB / 0.7211 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.4607, allocations: 91.77 kB / 0.7211 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4607, allocations: 3.938 kB / 0.7212 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4607, allocations: 1.281 kB / 0.7212 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4607, allocations: 2.062 kB / 0.7212 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.4609, allocations: 76.66 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.4613, allocations: 300.8 kB / 0.7215 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.4614, allocations: 61.67 kB / 0.7216 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.4615, allocations: 31.31 kB / 0.7216 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4615, allocations: 1.062 kB / 0.7216 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.4615, allocations: 40.38 kB / 0.7216 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4615, allocations: 0 / 0.7216 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002911/0.4618, allocations: 115.8 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.4618, allocations: 57.03 kB / 0.7218 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.4619, allocations: 141.6 kB / 0.7219 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.4619, allocations: 26.86 kB / 0.722 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.462, allocations: 103 kB / 0.7221 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.462, allocations: 15.83 kB / 0.7221 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.462, allocations: 19.23 kB / 0.7221 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.4621, allocations: 316.7 kB / 0.7224 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.4621, allocations: 31.47 kB / 0.7224 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.68e-05/0.4622, allocations: 27.61 kB / 0.7225 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4623, allocations: 62.45 kB / 0.7225 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4623, allocations: 4 kB / 0.7225 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.4625, allocations: 100.2 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.4625, allocations: 5.875 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4625, allocations: 0 / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4626, allocations: 1.062 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.298e-05/0.4626, allocations: 11.73 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4627, allocations: 5.031 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.4627, allocations: 26.95 kB / 0.7227 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.4627, allocations: 1.859 kB / 0.7227 GB, free: 19.86 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 6.502e-05/0.4628, allocations: 116 kB / 0.7228 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.4628, allocations: 7.297 kB / 0.7228 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.4628, allocations: 12.08 kB / 0.7228 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.4628, allocations: 1.375 kB / 0.7228 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4628, allocations: 8.781 kB / 0.7228 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4628, allocations: 0 / 0.7228 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.463, allocations: 150.9 kB / 0.7229 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.463, allocations: 5.062 kB / 0.723 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.463, allocations: 15.61 kB / 0.723 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.463, allocations: 3.938 kB / 0.723 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.463, allocations: 2.281 kB / 0.723 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.463, allocations: 0 / 0.723 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.463, allocations: 9.141 kB / 0.723 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.4632, allocations: 186.6 kB / 0.7232 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.4632, allocations: 7.062 kB / 0.7232 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4632, allocations: 5.938 kB / 0.7232 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.4633, allocations: 15.36 kB / 0.7232 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.4634, allocations: 17.38 kB / 0.7232 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.4634, allocations: 1.125 kB / 0.7232 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.4634, allocations: 103.8 kB / 0.7233 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4634, allocations: 1.094 kB / 0.7233 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000157/0.4636, allocations: 9.531 kB / 0.7233 GB, free: 19.3 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.0003251/0.4639, allocations: 0.7283 MB / 0.724 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.4641, allocations: 64.33 kB / 0.7241 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4641, allocations: 1.25 kB / 0.7241 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.4641, allocations: 34.02 kB / 0.7241 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.4644, allocations: 26.72 kB / 0.7241 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.4654, allocations: 1.478 MB / 0.7256 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/0.4655, allocations: 85.53 kB / 0.7257 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.4655, allocations: 8.844 kB / 0.7257 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.4656, allocations: 26.73 kB / 0.7257 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.4656, allocations: 0 / 0.7257 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.4839, allocations: 2.919 MB / 0.7286 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/6.924, allocations: 11.12 kB / 0.7286 GB, free: 16.23 MB / 0.6355 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.615319598000497] Failed to read output from testmodel.py, exit status != 0: 7.003020958043635 7.010611191 6.549191706 Calling exit ...