Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008723/0.0008723, 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.0009176/0.0009176, 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.9292/0.9292, 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 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.7475/0.7475, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.558e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001443/0.001468, allocations: 0.8294 MB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.002418, allocations: 0.8977 MB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.002482, allocations: 8 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.0026, allocations: 19.73 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.002717, allocations: 31.72 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.002837, allocations: 43.94 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.002988, allocations: 139.5 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.003148, allocations: 41.44 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/0.003244, allocations: 67.88 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.003355, allocations: 75.83 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.003385, allocations: 16 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.62e-05/0.003401, allocations: 16 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.003461, allocations: 39.84 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.003511, allocations: 51.83 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.003678, allocations: 171.4 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.003681, allocations: 0 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.963e-06/0.003683, allocations: 3.984 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.003689, allocations: 0 / 0.6205 GB, free: 11.18 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.0006333/0.004322, allocations: 445.4 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.004364, allocations: 9.469 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.004401, allocations: 42.73 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.004437, allocations: 20.83 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.004599, allocations: 161.5 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.00461, allocations: 4.375 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.004625, allocations: 12.38 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.004967, allocations: 184.1 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004974, allocations: 192 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.004986, allocations: 384 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.004993, allocations: 4.125 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.005422, allocations: 227.7 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.00658, allocations: 467.5 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.006878, allocations: 146.5 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.007079, allocations: 104.8 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.007099, allocations: 8.172 kB / 0.6223 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.007128, allocations: 34.5 kB / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.007131, allocations: 0 / 0.6223 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0007113/0.007842, allocations: 369.4 kB / 0.6226 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.007877, allocations: 51.41 kB / 0.6227 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.008005, allocations: 181.1 kB / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.008022, allocations: 25.7 kB / 0.6229 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.008085, allocations: 124 kB / 0.623 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.008114, allocations: 31.73 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.00815, allocations: 17.72 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.008234, allocations: 330.8 kB / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.008426, allocations: 107.9 kB / 0.6235 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.008598, allocations: 99.89 kB / 0.6236 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.008945, allocations: 224.5 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.008947, allocations: 0 / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003945/0.009341, allocations: 257.9 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.009359, allocations: 7.984 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.009364, allocations: 0 / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.009377, allocations: 0 / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.009533, allocations: 47.95 kB / 0.6241 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.00954, allocations: 4 kB / 0.6241 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.009626, allocations: 32 kB / 0.6241 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.009636, allocations: 11.88 kB / 0.6241 GB, free: 7.277 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 8.402e-05/0.00972, allocations: 126.8 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.009742, allocations: 11.95 kB / 0.6243 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.009779, allocations: 25.45 kB / 0.6243 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009781, allocations: 4 kB / 0.6243 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.009788, allocations: 0 / 0.6243 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.009791, allocations: 0 / 0.6243 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.009964, allocations: 208.6 kB / 0.6245 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.009965, allocations: 0 / 0.6245 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.01008, allocations: 47.88 kB / 0.6245 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01008, allocations: 4 kB / 0.6245 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01009, allocations: 8 kB / 0.6245 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01009, allocations: 0 / 0.6245 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.0101, allocations: 4 kB / 0.6245 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.01053, allocations: 355.1 kB / 0.6249 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01055, allocations: 19.84 kB / 0.6249 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.01056, allocations: 0 / 0.6249 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.01066, allocations: 35.95 kB / 0.6249 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.01072, allocations: 15.97 kB / 0.6249 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01073, allocations: 0 / 0.6249 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.0108, allocations: 140.3 kB / 0.6251 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0108, allocations: 0 / 0.6251 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001605/0.01097, allocations: 23.94 kB / 0.6251 GB, free: 6.199 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.0006365/0.0116, allocations: 0.8801 MB / 0.626 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.01203, allocations: 227.8 kB / 0.6262 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01203, allocations: 0 / 0.6262 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.01222, allocations: 127.8 kB / 0.6263 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01246, allocations: 18.02 kB / 0.6263 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.01453, allocations: 2.142 MB / 0.6284 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.01461, allocations: 114.2 kB / 0.6285 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.01468, allocations: 28.44 kB / 0.6285 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.01476, allocations: 44.48 kB / 0.6286 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/0.01476, allocations: 7.938 kB / 0.6286 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.03348, allocations: 4.483 MB / 0.633 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.814, allocations: 0 / 0.633 GB, free: 14.19 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.681308184750378] Failed to read output from testmodel.py, exit status != 0: 6.89686272200197 6.906305029 6.900865933 Calling exit ...