Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.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.001141/0.001141, allocations: 101.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.001158/0.001158, allocations: 212 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.9639/0.9639, allocations: 230.6 MB / 256 MB, free: 9.59 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.7786/0.7786, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",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.0009248/0.0009248, allocations: 65.62 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5112, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001513/0.5127, allocations: 0.7415 MB / 0.8185 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.5137, allocations: 0.8854 MB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.5137, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.5138, allocations: 10.17 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.8e-05/0.5139, allocations: 10.83 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.5141, allocations: 50.72 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.5142, allocations: 81.59 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.5143, allocations: 26.7 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.5144, allocations: 44.33 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.5145, allocations: 45.22 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.5146, allocations: 7.5 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.5146, allocations: 7.531 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.5146, allocations: 24.72 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.5146, allocations: 25.09 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.5148, allocations: 89.28 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5148, allocations: 6.688 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5148, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5148, allocations: 0.5625 kB / 0.8198 GB, free: 15.68 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.00047/0.5153, allocations: 317.2 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5153, allocations: 8.781 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.5154, allocations: 41.17 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.5154, allocations: 8.953 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.5155, allocations: 122.6 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5155, allocations: 9.922 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.5155, allocations: 10.72 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.5158, allocations: 108.6 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.5158, allocations: 1.969 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5158, allocations: 0 / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5158, allocations: 3.938 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.516, allocations: 94.56 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.5164, allocations: 298.5 kB / 0.8208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.5168, allocations: 115.4 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.5169, allocations: 52.86 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.5169, allocations: 4.703 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.5169, allocations: 30.56 kB / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5169, allocations: 5.156 kB / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004036/0.5174, allocations: 188.2 kB / 0.8212 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.5174, allocations: 51.41 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.5175, allocations: 124.7 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5175, allocations: 25.7 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.5175, allocations: 98.08 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.5175, allocations: 22.61 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.5176, allocations: 25.39 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.5177, allocations: 321.2 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.5178, allocations: 41.11 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.5179, allocations: 44.81 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.5181, allocations: 101.2 kB / 0.822 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5181, allocations: 0 / 0.822 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002356/0.5183, allocations: 144 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5183, allocations: 9.219 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5183, allocations: 3.938 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5183, allocations: 3.062 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.5184, allocations: 26.19 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5184, allocations: 4.016 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.5185, allocations: 16.11 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5185, allocations: 7.984 kB / 0.8222 GB, free: 13.88 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,min1.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 7.194e-05/0.5186, allocations: 116.9 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.5186, allocations: 7.859 kB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.5189, allocations: 152.8 kB / 0.8225 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5189, allocations: 0 / 0.8225 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-06/0.5189, allocations: 3.938 kB / 0.8225 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5189, allocations: 2.125 kB / 0.8225 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.519, allocations: 154.9 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.519, allocations: 1.5 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.5191, allocations: 27.2 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5191, allocations: 1.094 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5191, allocations: 10.45 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5191, allocations: 0 / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5191, allocations: 6.156 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.5194, allocations: 235.1 kB / 0.8229 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.5194, allocations: 7.359 kB / 0.8229 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.5194, allocations: 1.094 kB / 0.8229 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.5195, allocations: 20.14 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.5196, allocations: 26.22 kB / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.5196, allocations: 3.297 kB / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.5196, allocations: 94 kB / 0.823 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5196, allocations: 0 / 0.823 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001517/0.5198, allocations: 17 kB / 0.823 GB, free: 13.24 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 (min1.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.0004571/0.5202, allocations: 0.7658 MB / 0.8238 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.5205, allocations: 106.9 kB / 0.8239 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5205, allocations: 0 / 0.8239 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.5206, allocations: 64.47 kB / 0.8239 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5209, allocations: 16.91 kB / 0.824 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.5222, allocations: 1.535 MB / 0.8255 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.722e-05/0.5223, allocations: 86.52 kB / 0.8255 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.974e-05/0.5223, allocations: 15.48 kB / 0.8256 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.5224, allocations: 27.95 kB / 0.8256 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/0.5224, allocations: 0 / 0.8256 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.5413, allocations: 3.348 MB / 0.8289 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.429, allocations: 5.812 kB / 0.8289 GB, free: 10.18 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min_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_Min.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.38566951174289] Failed to read output from testmodel.py, exit status != 0: 7.505746952723712 7.519776417 7.00188689 Calling exit ...