Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001278/0.001278, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.001031/0.001031, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9293/0.9293, allocations: 230.6 MB / 256 MB, free: 9.832 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.7919/0.7919, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_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.001013/0.001013, allocations: 70.52 kB / 0.7182 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5538/0.5549, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001548/0.5564, allocations: 0.7016 MB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.5572, allocations: 0.8721 MB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.5573, allocations: 0 / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.5573, allocations: 4.594 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.398e-05/0.5574, allocations: 9.875 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.5575, allocations: 22.67 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.5576, allocations: 40.38 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.5577, allocations: 19.73 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.5578, allocations: 21.58 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.5578, allocations: 25.33 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.5579, allocations: 4.562 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.5579, allocations: 4.344 kB / 0.8196 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.5579, allocations: 10.14 kB / 0.8196 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.5579, allocations: 22.61 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.558, allocations: 50.19 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.558, allocations: 2.312 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.558, allocations: 0 / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5581, allocations: 0 / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004299/0.5585, allocations: 289.5 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5585, allocations: 10.08 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.5586, allocations: 35.27 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.5586, allocations: 3.766 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.5587, allocations: 111.8 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5587, allocations: 384 / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.5587, allocations: 6.344 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.5589, allocations: 68.89 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.5589, allocations: 9.469 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.5589, allocations: 4.891 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.5589, allocations: 3.938 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.559, allocations: 49.12 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.5594, allocations: 264.5 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.5595, allocations: 67.31 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.5596, allocations: 29.75 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5596, allocations: 0 / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.5596, allocations: 31.55 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.5596, allocations: 0 / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003014/0.5599, allocations: 110.1 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.56, allocations: 51.41 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.5601, allocations: 107.8 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.5601, allocations: 28.3 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.5601, allocations: 92.64 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.5601, allocations: 7.969 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.5602, allocations: 23.98 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.5603, allocations: 324.2 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.5603, allocations: 26.02 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.5604, allocations: 24.86 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.5605, allocations: 49.97 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5605, allocations: 0 / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001625/0.5607, allocations: 91.55 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5607, allocations: 5.172 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5607, allocations: 0 / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5607, allocations: 336 / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.5608, allocations: 19.27 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5608, allocations: 0 / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.5609, allocations: 5.797 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.5609, allocations: 6 kB / 0.8215 GB, free: 14.41 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: 2 (reaToInt.y,intLesThr.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 7.191e-05/0.5609, allocations: 118 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.561, allocations: 6.562 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.561, allocations: 4.609 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.561, allocations: 0.8438 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.561, allocations: 1.547 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.561, allocations: 0 / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.5611, allocations: 153.6 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5611, allocations: 1.25 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.5612, allocations: 14.58 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5612, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.5612, allocations: 0.75 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5612, allocations: 4.656 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5612, allocations: 0 / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.5614, allocations: 187.6 kB / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.5614, allocations: 9.656 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.5614, allocations: 0.6562 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.5615, allocations: 8.797 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.5615, allocations: 17.25 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5615, allocations: 0.6562 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.5616, allocations: 91.94 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5616, allocations: 0 / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001554/0.5617, allocations: 10.73 kB / 0.8221 GB, free: 13.85 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0003846/0.5621, allocations: 0.7193 MB / 0.8228 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.5623, allocations: 50.44 kB / 0.8229 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5623, allocations: 0 / 0.8229 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.5624, allocations: 34.23 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.5626, allocations: 8.469 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5637, allocations: 1.321 MB / 0.8242 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.5639, allocations: 0.6828 MB / 0.8249 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.564, allocations: 11.27 kB / 0.8249 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.564, allocations: 17.14 kB / 0.8249 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.564, allocations: 0 / 0.8249 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.5837, allocations: 1.965 MB / 0.8268 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/7.403, allocations: 8.359 kB / 0.8268 GB, free: 10.77 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.41696252510883] Failed to read output from testmodel.py, exit status != 0: 7.47977259196341 7.491440406 6.931165906 Calling exit ...