Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0008941/0.0008941, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001023/0.001023, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8913/0.8913, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.6997/0.6997, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/2.041e-05, allocations: 6.281 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001335/0.001356, allocations: 0.8193 MB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.002141, allocations: 0.9094 MB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.002194, allocations: 3.938 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.949e-05/0.002294, allocations: 19.8 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.002401, allocations: 35.72 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.002507, allocations: 43.94 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.002653, allocations: 139.5 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.002794, allocations: 41.45 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.002882, allocations: 79.84 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.002978, allocations: 71.8 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.003006, allocations: 12 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.003019, allocations: 12 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.003068, allocations: 43.84 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.003108, allocations: 39.89 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.003254, allocations: 183.4 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003256, allocations: 0 / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.61e-07/0.003257, allocations: 3.938 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003261, allocations: 3.938 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005759/0.003837, allocations: 437.4 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.003873, allocations: 12.03 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.003908, allocations: 42.73 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.003935, allocations: 20.84 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.004074, allocations: 153.5 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.004083, allocations: 8.375 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.004096, allocations: 8.375 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.004398, allocations: 184.1 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004405, allocations: 192 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.004417, allocations: 4.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.004424, allocations: 8.125 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.004799, allocations: 223.7 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.005382, allocations: 467.5 kB / 0.6221 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.005628, allocations: 142.4 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.00588, allocations: 120.7 kB / 0.6223 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.005894, allocations: 3.938 kB / 0.6223 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.005913, allocations: 38.69 kB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.005914, allocations: 0 / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0006382/0.006553, allocations: 361.6 kB / 0.6227 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.00658, allocations: 51.41 kB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.006692, allocations: 178 kB / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.006706, allocations: 29.7 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.006761, allocations: 128 kB / 0.6231 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.006787, allocations: 27.75 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.006825, allocations: 25.72 kB / 0.6231 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.006898, allocations: 330.8 kB / 0.6234 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.007081, allocations: 99.89 kB / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.007259, allocations: 103.9 kB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.007608, allocations: 220.6 kB / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007609, allocations: 0 / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003888/0.007998, allocations: 257.4 kB / 0.6241 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.008011, allocations: 4 kB / 0.6241 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008016, allocations: 4 kB / 0.6241 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.008027, allocations: 0 / 0.6241 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.008171, allocations: 43.89 kB / 0.6241 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008175, allocations: 0 / 0.6241 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.008263, allocations: 43.89 kB / 0.6242 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.008273, allocations: 7.938 kB / 0.6242 GB, free: 7.246 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.382e-05/0.008347, allocations: 126.8 kB / 0.6243 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.008365, allocations: 12.31 kB / 0.6243 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.008393, allocations: 17.47 kB / 0.6243 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.008396, allocations: 4 kB / 0.6243 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.0084, allocations: 0 / 0.6243 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.008402, allocations: 3.938 kB / 0.6243 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.008563, allocations: 208.6 kB / 0.6245 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008564, allocations: 4 kB / 0.6245 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.008674, allocations: 51.88 kB / 0.6246 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.008676, allocations: 0 / 0.6246 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.008685, allocations: 0 / 0.6246 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.008687, allocations: 0 / 0.6246 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.008689, allocations: 11.94 kB / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.009109, allocations: 355.1 kB / 0.6249 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.009123, allocations: 19.84 kB / 0.625 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.009138, allocations: 4 kB / 0.625 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.009237, allocations: 31.95 kB / 0.625 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.009288, allocations: 15.97 kB / 0.625 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.009294, allocations: 4 kB / 0.625 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.163e-05/0.009366, allocations: 135.4 kB / 0.6251 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009366, allocations: 0 / 0.6251 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000162/0.009528, allocations: 27.94 kB / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0006119/0.01014, allocations: 0.8801 MB / 0.626 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000414/0.01055, allocations: 223.7 kB / 0.6262 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01056, allocations: 0 / 0.6262 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.01074, allocations: 120.2 kB / 0.6264 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.01098, allocations: 26.14 kB / 0.6264 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.01301, allocations: 2.143 MB / 0.6285 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.508e-05/0.0131, allocations: 114.2 kB / 0.6286 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.01316, allocations: 24.47 kB / 0.6286 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.01324, allocations: 40.48 kB / 0.6286 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/0.01324, allocations: 0 / 0.6286 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.03096, allocations: 4.482 MB / 0.633 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.204, allocations: 8.062 kB / 0.633 GB, free: 14.18 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.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_Reals_Validation_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.943376021459699] Failed to read output from testmodel.py, exit status != 0: 7.29128173738718 7.30180615 7.296580846 Calling exit ...