Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.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.001051/0.001051, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001052/0.001052, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9213/0.9213, allocations: 230.6 MB / 256 MB, free: 9.43 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7636/0.7636, allocations: 203.5 MB / 0.5039 GB, free: 10.66 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",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.00116/0.00116, allocations: 72.89 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.4993, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001619/0.501, allocations: 0.7985 MB / 0.8182 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.5017, allocations: 0.9212 MB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.5017, allocations: 1.844 kB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.164e-05/0.5018, allocations: 14.02 kB / 0.8191 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.5019, allocations: 16.52 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.5021, allocations: 67.61 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.5023, allocations: 126.9 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.5024, allocations: 40.48 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.5025, allocations: 54.25 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.5026, allocations: 73.92 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.5026, allocations: 11.78 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.5026, allocations: 12.19 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.5027, allocations: 38.34 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.5027, allocations: 49.98 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.5029, allocations: 147.1 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5029, allocations: 0.75 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5029, allocations: 3.938 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5029, allocations: 0 / 0.8197 GB, free: 15.74 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005684/0.5035, allocations: 374.2 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5035, allocations: 9.062 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.5036, allocations: 37.53 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.5036, allocations: 15.31 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.5037, allocations: 153.8 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.5038, allocations: 11 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.5038, allocations: 6 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.504, allocations: 151 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.5041, allocations: 4 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5041, allocations: 0 / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5041, allocations: 3.188 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.5044, allocations: 154.2 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.5049, allocations: 365.9 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.5053, allocations: 169.3 kB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.5055, allocations: 80.8 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.5055, allocations: 2.656 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.5055, allocations: 36.72 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.5056, allocations: 4 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006064/0.5062, allocations: 276.4 kB / 0.8215 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.5062, allocations: 53 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/0.5063, allocations: 158.4 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.5063, allocations: 25.7 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.5063, allocations: 106.9 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.5064, allocations: 32.95 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.5064, allocations: 29.19 kB / 0.8219 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.5065, allocations: 320.8 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.5066, allocations: 76.77 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.5068, allocations: 83.62 kB / 0.8223 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.5071, allocations: 154.1 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5071, allocations: 0 / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003623/0.5074, allocations: 206.7 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5074, allocations: 7.953 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5074, allocations: 0 / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5075, allocations: 0 / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5076, allocations: 35.77 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5076, allocations: 3.984 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.5077, allocations: 31.3 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.5077, allocations: 5.938 kB / 0.8227 GB, free: 13.75 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.641e-05/0.5078, allocations: 122.8 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.5078, allocations: 13.66 kB / 0.8229 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.5078, allocations: 16.78 kB / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5078, allocations: 1.375 kB / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5078, allocations: 0 / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5078, allocations: 0.6562 kB / 0.8229 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.5083, allocations: 199.8 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-06/0.5083, allocations: 5.281 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5084, allocations: 34.66 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5084, allocations: 1.656 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5084, allocations: 2.984 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5084, allocations: 0 / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.5084, allocations: 1.344 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.5088, allocations: 310.8 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.5088, allocations: 12.55 kB / 0.8234 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.5088, allocations: 9.219 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.5089, allocations: 26.77 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.509, allocations: 31.91 kB / 0.8235 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.509, allocations: 3.453 kB / 0.8235 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.5091, allocations: 115.4 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5091, allocations: 4 kB / 0.8236 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001735/0.5092, allocations: 30.98 kB / 0.8236 GB, free: 13.09 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0005537/0.5098, allocations: 0.8354 MB / 0.8245 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.5102, allocations: 167.5 kB / 0.8246 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.5102, allocations: 1.531 kB / 0.8246 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.5103, allocations: 91.81 kB / 0.8247 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.5105, allocations: 20.27 kB / 0.8247 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.5124, allocations: 1.858 MB / 0.8265 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.747e-05/0.5125, allocations: 90.67 kB / 0.8266 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.5126, allocations: 24.75 kB / 0.8267 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.5126, allocations: 47.8 kB / 0.8267 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5126, allocations: 0 / 0.8267 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.529, allocations: 4.535 MB / 0.8311 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.531, allocations: 10.67 kB / 0.8311 GB, free: 9.793 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.429317801259458] Failed to read output from testmodel.py, exit status != 0: 7.612743548117578 7.624017538 7.119091652 Calling exit ...