Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007573/0.0007573, allocations: 80.44 kB / 19.14 MB, free: 0.6289 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.0007854/0.0007854, allocations: 169.9 kB / 22.43 MB, free: 1.992 MB / 18.57 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.8863/0.8863, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7605/0.7605, allocations: 154.9 MB / 414.2 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_dev_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.001138/0.001138, allocations: 72.41 kB / 0.6186 GB, free: 13.27 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4966/0.4977, allocations: 102 MB / 0.7182 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001713/0.4994, allocations: 0.7998 MB / 0.719 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.5004, allocations: 0.9187 MB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.5005, allocations: 2.062 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.5006, allocations: 10.55 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.5007, allocations: 20.86 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.5009, allocations: 58.59 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.5011, allocations: 134.7 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.5012, allocations: 33.61 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.5013, allocations: 76.62 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.5015, allocations: 77.94 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.5015, allocations: 17.38 kB / 0.7203 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.166e-05/0.5015, allocations: 11.03 kB / 0.7203 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.5016, allocations: 37.17 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.5016, allocations: 45.02 kB / 0.7204 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.5019, allocations: 163 kB / 0.7206 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5019, allocations: 1.719 kB / 0.7206 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.806e-06/0.5019, allocations: 0 / 0.7206 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5019, allocations: 0 / 0.7206 GB, free: 21.65 MB / 0.6355 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.0005913/0.5025, allocations: 372.5 kB / 0.7209 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5025, allocations: 14.88 kB / 0.7209 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.5025, allocations: 44.11 kB / 0.721 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.5026, allocations: 15.42 kB / 0.721 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.5027, allocations: 152.4 kB / 0.7211 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.5027, allocations: 7.406 kB / 0.7211 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.5028, allocations: 12.94 kB / 0.7211 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.5031, allocations: 144.2 kB / 0.7213 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5031, allocations: 0 / 0.7213 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.5031, allocations: 9.281 kB / 0.7213 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5031, allocations: 2.594 kB / 0.7213 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.5034, allocations: 158 kB / 0.7214 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.5039, allocations: 361.1 kB / 0.7218 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.5044, allocations: 169.7 kB / 0.722 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.5045, allocations: 80.78 kB / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.5046, allocations: 7.688 kB / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.5046, allocations: 39.31 kB / 0.7221 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.5046, allocations: 0 / 0.7221 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000586/0.5052, allocations: 283.3 kB / 0.7223 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.5052, allocations: 54.42 kB / 0.7224 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.5053, allocations: 149.7 kB / 0.7225 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.5053, allocations: 30.8 kB / 0.7226 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.5053, allocations: 112.2 kB / 0.7227 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.5054, allocations: 29.3 kB / 0.7227 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.5054, allocations: 30.95 kB / 0.7227 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.5055, allocations: 321.8 kB / 0.723 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.5056, allocations: 75.97 kB / 0.7231 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.5058, allocations: 78.88 kB / 0.7232 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.5061, allocations: 154.5 kB / 0.7233 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5061, allocations: 0 / 0.7233 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003449/0.5064, allocations: 204.4 kB / 0.7235 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5064, allocations: 6.672 kB / 0.7235 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5064, allocations: 0 / 0.7235 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5065, allocations: 4.031 kB / 0.7235 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.5066, allocations: 45.06 kB / 0.7236 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5066, allocations: 0 / 0.7236 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.5067, allocations: 27.86 kB / 0.7236 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5067, allocations: 4.047 kB / 0.7236 GB, free: 19.64 MB / 0.6355 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 7.323e-05/0.5068, allocations: 123.4 kB / 0.7237 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.5068, allocations: 12.58 kB / 0.7237 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.5068, allocations: 17.78 kB / 0.7238 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5068, allocations: 1.859 kB / 0.7238 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5068, allocations: 0 / 0.7238 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5068, allocations: 0.6094 kB / 0.7238 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.507, allocations: 191.6 kB / 0.7239 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.507, allocations: 4 kB / 0.7239 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5071, allocations: 40.58 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5071, allocations: 0 / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5071, allocations: 6.875 kB / 0.724 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5071, allocations: 6.453 kB / 0.724 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5071, allocations: 0 / 0.724 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.5075, allocations: 306 kB / 0.7243 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.5075, allocations: 16.33 kB / 0.7243 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.5075, allocations: 4.969 kB / 0.7243 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.5076, allocations: 19.56 kB / 0.7243 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.5077, allocations: 34.92 kB / 0.7244 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5077, allocations: 4.641 kB / 0.7244 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.5078, allocations: 112.2 kB / 0.7245 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5078, allocations: 1.031 kB / 0.7245 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001713/0.5079, allocations: 30.67 kB / 0.7245 GB, free: 19 MB / 0.6355 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.0005155/0.5085, allocations: 0.8351 MB / 0.7253 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.5088, allocations: 169 kB / 0.7255 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5088, allocations: 0 / 0.7255 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.509, allocations: 99.55 kB / 0.7256 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.5093, allocations: 22.16 kB / 0.7256 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.5112, allocations: 1.848 MB / 0.7274 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.623e-05/0.5113, allocations: 93.75 kB / 0.7275 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.993e-05/0.5114, allocations: 24.94 kB / 0.7275 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.5115, allocations: 46.23 kB / 0.7276 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of SimCode: time 9.81e-07/0.5115, allocations: 0 / 0.7276 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.5327, allocations: 4.682 MB / 0.7321 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.461, allocations: 9.031 kB / 0.7321 GB, free: 15.66 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.333277988014743] Failed to read output from testmodel.py, exit status != 0: 7.541291143046692 7.555475521 7.050864586 Calling exit ...