Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0008004/0.0008004, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001261/0.001261, allocations: 208.6 kB / 22.25 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.973/0.973, allocations: 230.6 MB / 256 MB, free: 9.602 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.801/0.801, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.0009595/0.0009595, allocations: 66.64 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5633, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001583/0.5649, allocations: 0.7882 MB / 0.8186 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.5658, allocations: 0.9047 MB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.5659, allocations: 6 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.5661, allocations: 10.92 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.5661, allocations: 19.3 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.5663, allocations: 36.42 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.5665, allocations: 71.64 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.5666, allocations: 28.48 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.5667, allocations: 43.69 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.5668, allocations: 24.7 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.5668, allocations: 7.938 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.5669, allocations: 7.062 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.5669, allocations: 15.45 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.5669, allocations: 23.75 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.5671, allocations: 78.97 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5671, allocations: 0.5625 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5671, allocations: 0 / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5671, allocations: 4 kB / 0.8199 GB, free: 15.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004305/0.5675, allocations: 324.5 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5676, allocations: 11.62 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.5676, allocations: 31.45 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.5677, allocations: 18.36 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.568, allocations: 145.6 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.568, allocations: 4.5 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.568, allocations: 12.34 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5681, allocations: 55.86 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5682, allocations: 6.969 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5682, allocations: 3.984 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5682, allocations: 0 / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.5683, allocations: 40.97 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.5687, allocations: 268.5 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.5688, allocations: 51.94 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.5689, allocations: 18.64 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.5689, allocations: 0 / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.5689, allocations: 32.81 kB / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.5689, allocations: 0 / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002336/0.5691, allocations: 78.88 kB / 0.8209 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5692, allocations: 51.41 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.5693, allocations: 139 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.5693, allocations: 33.7 kB / 0.8211 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.5694, allocations: 107.1 kB / 0.8212 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.5694, allocations: 9.016 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.5694, allocations: 20.02 kB / 0.8213 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.5695, allocations: 320 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.5696, allocations: 14.34 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.5696, allocations: 18.69 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.5697, allocations: 29.92 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5697, allocations: 3.922 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.783e-05/0.5698, allocations: 71.67 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5698, allocations: 5.5 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5698, allocations: 0 / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5698, allocations: 2.531 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.5699, allocations: 8.344 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5699, allocations: 0 / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.5699, allocations: 10.92 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.5699, allocations: 7.219 kB / 0.8217 GB, free: 13.97 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 (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 prepare postOptimizeDAE: time 0.0003357/0.5703, allocations: 114.1 kB / 0.8218 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.5703, allocations: 11.45 kB / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.5703, allocations: 9.75 kB / 0.8218 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5703, allocations: 0.6094 kB / 0.8218 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5703, allocations: 2.312 kB / 0.8219 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5703, allocations: 0 / 0.8219 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.5704, allocations: 149.6 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5704, allocations: 0 / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.5705, allocations: 4.812 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5705, allocations: 2.375 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.5705, allocations: 0.8438 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5705, allocations: 4 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5705, allocations: 0 / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.5706, allocations: 168.5 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.5706, allocations: 9.297 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.5706, allocations: 0.75 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.5707, allocations: 9.047 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.5707, allocations: 11.56 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.5707, allocations: 2.312 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.757e-05/0.5708, allocations: 107 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5708, allocations: 0 / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001524/0.5709, allocations: 10.41 kB / 0.8223 GB, free: 13.41 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 (3): * Single equations (assignments): 3 * 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.0003466/0.5713, allocations: 0.688 MB / 0.823 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.5714, allocations: 32.78 kB / 0.823 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5714, allocations: 2.906 kB / 0.823 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.5714, allocations: 18.77 kB / 0.823 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.5717, allocations: 15.23 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.5727, allocations: 1.388 MB / 0.8244 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.5728, allocations: 79.95 kB / 0.8245 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.5728, allocations: 4.812 kB / 0.8245 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.5729, allocations: 25.53 kB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5729, allocations: 4 kB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.5922, allocations: 2.567 MB / 0.827 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.494/7.086, allocations: 14.58 kB / 0.827 GB, free: 10.47 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold_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_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.140721329022199] Failed to read output from testmodel.py, exit status != 0: 7.1636818228289485 7.181569328 6.611124778 Calling exit ...