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.0007655/0.0007655, 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.0009177/0.0009177, 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.8907/0.8907, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7327/0.7327, 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.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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/2.022e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001531/0.001551, allocations: 0.7958 MB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.002387, allocations: 0.9288 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.002446, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.855e-05/0.002544, allocations: 11.86 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.002653, allocations: 19.73 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.002822, allocations: 63.84 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.002959, allocations: 127.7 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.003077, allocations: 33.27 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.00316, allocations: 75.86 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.003271, allocations: 63.84 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.003302, allocations: 12 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.003318, allocations: 12 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.003367, allocations: 47.77 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.003405, allocations: 31.91 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.003657, allocations: 163.4 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.00366, allocations: 0 / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00366, allocations: 4 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003664, allocations: 0 / 0.6204 GB, free: 11.23 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005326/0.004197, allocations: 369.7 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.004233, allocations: 12.03 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.004267, allocations: 38.75 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.004296, allocations: 16.84 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.004446, allocations: 150.1 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.004467, allocations: 8.375 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.004481, allocations: 8.125 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.004737, allocations: 151.5 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.004744, allocations: 0 / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.004755, allocations: 0 / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.00476, allocations: 4 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.005057, allocations: 163.8 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.005491, allocations: 355.6 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.005952, allocations: 166.5 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.006105, allocations: 84.91 kB / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.006122, allocations: 4 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.00614, allocations: 34.56 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.006141, allocations: 0 / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005515/0.006693, allocations: 285.4 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.006721, allocations: 55.41 kB / 0.6223 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.006812, allocations: 149 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.006827, allocations: 29.64 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.006878, allocations: 108.1 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.006903, allocations: 28.12 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.006948, allocations: 33.64 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.007034, allocations: 322.8 kB / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.00718, allocations: 75.92 kB / 0.623 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.007314, allocations: 75.86 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.007596, allocations: 156.7 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007598, allocations: 4 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003266/0.007924, allocations: 201.4 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.007938, allocations: 7.938 kB / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.007943, allocations: 0 / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.007953, allocations: 0 / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.008071, allocations: 39.95 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.008077, allocations: 3.938 kB / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.008154, allocations: 27.92 kB / 0.6235 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.008163, allocations: 4 kB / 0.6235 GB, free: 7.926 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: 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.54e-05/0.008239, allocations: 126.8 kB / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.008259, allocations: 7.953 kB / 0.6236 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.008284, allocations: 20.72 kB / 0.6236 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.008286, allocations: 4 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.00829, allocations: 0 / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.008296, allocations: 7.969 kB / 0.6236 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.008462, allocations: 188.7 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.008463, allocations: 0 / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.008565, allocations: 39.95 kB / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.008568, allocations: 3.984 kB / 0.6239 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.008581, allocations: 8.219 kB / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008581, allocations: 0 / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008582, allocations: 4 kB / 0.6239 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.008946, allocations: 307.2 kB / 0.6242 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.008959, allocations: 11.91 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008974, allocations: 3.938 kB / 0.6242 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.009064, allocations: 23.97 kB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.009139, allocations: 39.89 kB / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.009145, allocations: 0 / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.009195, allocations: 111.2 kB / 0.6243 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.009195, allocations: 0 / 0.6243 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001712/0.009366, allocations: 27.94 kB / 0.6244 GB, free: 6.941 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: 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.0005369/0.009903, allocations: 0.8372 MB / 0.6252 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.01023, allocations: 163.8 kB / 0.6253 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01024, allocations: 0 / 0.6253 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.0104, allocations: 103.8 kB / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.01061, allocations: 14.44 kB / 0.6255 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.01231, allocations: 1.851 MB / 0.6273 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.342e-05/0.01238, allocations: 97.25 kB / 0.6274 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.589e-05/0.01245, allocations: 20.48 kB / 0.6274 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.01253, allocations: 48.47 kB / 0.6274 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.01253, allocations: 0 / 0.6274 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.0294, allocations: 4.676 MB / 0.632 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.888, allocations: 8 kB / 0.632 GB, free: 15.2 MB / 0.6042 GB " [Timeout remaining time 653] (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: 9.716943041421473] Failed to read output from testmodel.py, exit status != 0: 6.968131453730166 6.977682225 6.972106493 Calling exit ...