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.0009869/0.0009869, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001279/0.001279, allocations: 208.1 kB / 22.24 MB, free: 3.59 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 0.9242/0.9242, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.7856/0.7856, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [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.0009368/0.0009368, allocations: 67 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5209, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001537/0.5224, allocations: 0.8176 MB / 0.8186 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.5234, allocations: 0.9222 MB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.5235, allocations: 6.5 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.5236, allocations: 17.97 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.756e-05/0.5236, allocations: 13.42 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.5238, allocations: 38.38 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.524, allocations: 105.8 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.5242, allocations: 35.77 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.5243, allocations: 46.52 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.5244, allocations: 47.86 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.5244, allocations: 9.875 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.5245, allocations: 12.33 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.5245, allocations: 16.11 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.5245, allocations: 27.47 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.5247, allocations: 109.4 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5247, allocations: 0.8438 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5247, allocations: 0 / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5247, allocations: 0 / 0.82 GB, free: 15.59 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.0005064/0.5252, allocations: 341.8 kB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5253, allocations: 10.44 kB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.5253, allocations: 38.09 kB / 0.8204 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.5254, allocations: 17.91 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.5257, allocations: 156.2 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.5257, allocations: 3.422 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.5257, allocations: 8.75 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.5259, allocations: 91.12 kB / 0.8206 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5259, allocations: 7.938 kB / 0.8206 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5259, allocations: 1.562 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5259, allocations: 3.062 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.5261, allocations: 64.84 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.5265, allocations: 307.4 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.5266, allocations: 71.75 kB / 0.8211 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.5267, allocations: 29.08 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.5267, allocations: 0.9062 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.5267, allocations: 33.92 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.5267, allocations: 0 / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002908/0.527, allocations: 125.8 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.527, allocations: 53 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.5271, allocations: 149.1 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5271, allocations: 27.95 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.5272, allocations: 98.48 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.5272, allocations: 9.578 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.5272, allocations: 18.97 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.5273, allocations: 316.1 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.5274, allocations: 31.25 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.5274, allocations: 33.58 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.5275, allocations: 58.22 kB / 0.822 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5275, allocations: 0 / 0.822 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.5277, allocations: 98.56 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5277, allocations: 2.906 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5277, allocations: 4 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5277, allocations: 10.39 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.5278, allocations: 10.72 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5278, allocations: 4.641 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.5279, allocations: 26.69 kB / 0.8222 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5279, allocations: 3.75 kB / 0.8222 GB, free: 13.82 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 7.946e-05/0.5279, allocations: 113.8 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.528, allocations: 3.438 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.528, allocations: 16.27 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.528, allocations: 1.031 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.528, allocations: 12.62 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.528, allocations: 0 / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.5281, allocations: 159.1 kB / 0.8225 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5281, allocations: 0.9375 kB / 0.8225 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.5282, allocations: 15.25 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5282, allocations: 0.6562 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.5282, allocations: 1.641 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5282, allocations: 0.5625 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5282, allocations: 7.938 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.5284, allocations: 188.4 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.5284, allocations: 7.094 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.5284, allocations: 3.312 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.5285, allocations: 12.98 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.5285, allocations: 16.73 kB / 0.8227 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.5285, allocations: 2.266 kB / 0.8227 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.5286, allocations: 100.8 kB / 0.8228 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5286, allocations: 0 / 0.8228 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001546/0.5288, allocations: 19.61 kB / 0.8228 GB, free: 13.25 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.0003852/0.5291, allocations: 0.7182 MB / 0.8235 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.5293, allocations: 67.23 kB / 0.8236 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5293, allocations: 1.5 kB / 0.8236 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.5294, allocations: 29.09 kB / 0.8236 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.5296, allocations: 16.41 kB / 0.8236 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.5308, allocations: 1.475 MB / 0.8251 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.195e-05/0.5309, allocations: 81.14 kB / 0.8252 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.5309, allocations: 9.141 kB / 0.8252 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.531, allocations: 34.55 kB / 0.8252 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.531, allocations: 0 / 0.8252 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.5473, allocations: 2.803 MB / 0.8279 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/7.125, allocations: 7.469 kB / 0.8279 GB, free: 10.25 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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: 10.092618342023343] Failed to read output from testmodel.py, exit status != 0: 7.201960550155491 7.219962245 6.6921753200000005 Calling exit ...