Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.0009624/0.0009624, 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.001107/0.001107, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9548/0.9548, 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.7601/0.7601, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Max",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.0008995/0.0008995, allocations: 68.83 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.482, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001433/0.4834, allocations: 0.7493 MB / 0.8185 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008066/0.4842, allocations: 0.8859 MB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.4843, allocations: 4 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.4843, allocations: 8.812 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.4844, allocations: 9.75 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.4846, allocations: 40.55 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.4847, allocations: 90.64 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4848, allocations: 19.95 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.4849, allocations: 36.09 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.4849, allocations: 45.97 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.485, allocations: 7.125 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.485, allocations: 9.125 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.485, allocations: 22.72 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.485, allocations: 34.98 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.4852, allocations: 87.12 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4852, allocations: 3.938 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4852, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4852, allocations: 0 / 0.8198 GB, free: 15.71 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004634/0.4856, allocations: 317.2 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4857, allocations: 10.59 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.4857, allocations: 38.06 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.4857, allocations: 13.39 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.4858, allocations: 119.7 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4859, allocations: 8.062 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.4859, allocations: 7.672 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.4861, allocations: 104.5 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.4861, allocations: 4.547 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4861, allocations: 5.969 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4861, allocations: 0 / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.4863, allocations: 110 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.4867, allocations: 297.6 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.4871, allocations: 114.8 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4872, allocations: 58.66 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4873, allocations: 1.984 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4873, allocations: 34.34 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4873, allocations: 0 / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004235/0.4877, allocations: 184.2 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.4877, allocations: 58.52 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.4878, allocations: 127 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.4878, allocations: 27.95 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.4879, allocations: 97.88 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.4879, allocations: 20.66 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.4879, allocations: 24.75 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.488, allocations: 315.5 kB / 0.8218 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4881, allocations: 46.45 kB / 0.8219 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4882, allocations: 50.17 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.4884, allocations: 93.27 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4884, allocations: 0 / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002788/0.4887, allocations: 141.5 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4887, allocations: 7.875 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.4887, allocations: 1.312 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4887, allocations: 0 / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.4888, allocations: 23.72 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.4889, allocations: 12.05 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.4889, allocations: 14.8 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4889, allocations: 2.984 kB / 0.8222 GB, free: 13.91 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 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.958e-05/0.489, allocations: 113.6 kB / 0.8223 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.489, allocations: 11.48 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.4894, allocations: 153.7 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4894, allocations: 1.031 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4894, allocations: 5.656 kB / 0.8225 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4894, allocations: 0 / 0.8225 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.4895, allocations: 156.5 kB / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4895, allocations: 0 / 0.8226 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.4896, allocations: 28.31 kB / 0.8226 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4896, allocations: 3.938 kB / 0.8226 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4896, allocations: 6.562 kB / 0.8226 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4896, allocations: 4.766 kB / 0.8226 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4896, allocations: 3.938 kB / 0.8226 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.4899, allocations: 235.8 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.4899, allocations: 10.2 kB / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.49, allocations: 9.031 kB / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.49, allocations: 11.5 kB / 0.8229 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.4901, allocations: 25.5 kB / 0.8229 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4901, allocations: 4.625 kB / 0.8229 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.4901, allocations: 91.64 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4901, allocations: 0 / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001667/0.4903, allocations: 19.72 kB / 0.823 GB, free: 13.26 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005135/0.4908, allocations: 0.7683 MB / 0.8238 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.4911, allocations: 98.84 kB / 0.8239 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4911, allocations: 0 / 0.8239 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.4912, allocations: 68.14 kB / 0.8239 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.4915, allocations: 11.45 kB / 0.824 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.4931, allocations: 1.541 MB / 0.8255 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.619e-05/0.4932, allocations: 77.91 kB / 0.8255 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.921e-05/0.4932, allocations: 12.03 kB / 0.8255 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.4933, allocations: 31.34 kB / 0.8256 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/0.4933, allocations: 0 / 0.8256 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.514, allocations: 3.356 MB / 0.8289 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/7.407, allocations: 9.781 kB / 0.8289 GB, free: 10.2 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max_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_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.377537969965488] Failed to read output from testmodel.py, exit status != 0: 7.4860891359858215 7.502659728 7.014862052 Calling exit ...