Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.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.001173/0.001173, 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.0008606/0.0008606, allocations: 207.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.9273/0.9273, 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.7578/0.7578, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",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.0009602/0.0009602, allocations: 66.69 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5147, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001507/0.5162, allocations: 0.6906 MB / 0.8185 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006461/0.5169, allocations: 0.861 MB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.5169, allocations: 1.562 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.5169, allocations: 4.641 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.517, allocations: 10.02 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.5171, allocations: 21.8 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.5172, allocations: 42.17 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.5173, allocations: 12.67 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.5173, allocations: 22.88 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.5174, allocations: 21.17 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.5174, allocations: 10.78 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.5174, allocations: 3.5 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.5174, allocations: 13.94 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.5175, allocations: 19.16 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.5176, allocations: 47.55 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5176, allocations: 0.5625 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5176, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.5176, allocations: 0 / 0.8195 GB, free: 15.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003793/0.518, allocations: 277 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.518, allocations: 9.531 kB / 0.8198 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.518, allocations: 41.28 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.518, allocations: 4.875 kB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.5182, allocations: 118.6 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5182, allocations: 2.125 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.5182, allocations: 10.84 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5183, allocations: 71.19 kB / 0.82 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.5183, allocations: 3.938 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.5183, allocations: 0 / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5183, allocations: 0 / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.5185, allocations: 50.84 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.5188, allocations: 254.9 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.5189, allocations: 67.83 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.5189, allocations: 30.14 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.519, allocations: 0.7031 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.519, allocations: 30.56 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.519, allocations: 0 / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002716/0.5193, allocations: 110.6 kB / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5193, allocations: 58.69 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.5194, allocations: 113.2 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.5194, allocations: 25.7 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.5194, allocations: 90.42 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.5194, allocations: 7.953 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.5194, allocations: 15.23 kB / 0.8209 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.5195, allocations: 324.4 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.5196, allocations: 25.16 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.163e-05/0.5196, allocations: 22.58 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.5201, allocations: 57.7 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5201, allocations: 0 / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/0.5202, allocations: 85.98 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5202, allocations: 6.125 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.5202, allocations: 4.047 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5202, allocations: 4.688 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.5203, allocations: 14.23 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5203, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.5204, allocations: 9.875 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5204, allocations: 10.08 kB / 0.8214 GB, free: 14.2 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,addPar.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 5.784e-05/0.5204, allocations: 110 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.5204, allocations: 1.938 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.5205, allocations: 10.78 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5205, allocations: 4.703 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5205, allocations: 0 / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5205, allocations: 0.6562 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.5206, allocations: 148.8 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.5206, allocations: 0 / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.5206, allocations: 13.14 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5206, allocations: 1.281 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.5206, allocations: 0.75 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5207, allocations: 2.219 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5207, allocations: 3.938 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.5208, allocations: 192.1 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.5208, allocations: 8.469 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.5209, allocations: 4.609 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.5209, allocations: 7 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.5209, allocations: 9.266 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.521, allocations: 4.234 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.521, allocations: 89.16 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.521, allocations: 0 / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001442/0.5211, allocations: 13.39 kB / 0.822 GB, free: 13.64 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 (addPar.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.0003342/0.5215, allocations: 0.7117 MB / 0.8227 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.5216, allocations: 54.95 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.5216, allocations: 0 / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.5217, allocations: 28.84 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.5219, allocations: 7.344 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00098/0.5229, allocations: 1.337 MB / 0.8241 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.68e-05/0.5229, allocations: 64.42 kB / 0.8242 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.523, allocations: 8.891 kB / 0.8242 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.523, allocations: 16.48 kB / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.523, allocations: 0 / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.5387, allocations: 2.405 MB / 0.8265 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/7.372, allocations: 6.828 kB / 0.8265 GB, free: 10.77 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter_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_AddParameter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.367275829892606] Failed to read output from testmodel.py, exit status != 0: 7.448480273131281 7.459927453 6.94025802 Calling exit ...