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.001098/0.001098, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008426/0.0008426, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9248/0.9248, allocations: 177.2 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.7198/0.7198, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.855e-06/2.855e-06, allocations: 0 / 0.6182 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.483e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001511/0.001536, allocations: 0.8236 MB / 0.619 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.002416, allocations: 0.9055 MB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.00247, allocations: 11.94 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.002576, allocations: 15.8 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.002695, allocations: 31.72 kB / 0.6199 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.002807, allocations: 43.94 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.002958, allocations: 143.5 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.003116, allocations: 37.45 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.003207, allocations: 79.86 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.003318, allocations: 67.78 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.003352, allocations: 20 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.003368, allocations: 12 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.00342, allocations: 43.89 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.003466, allocations: 43.84 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.00363, allocations: 175.4 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003633, allocations: 0 / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.743e-06/0.003635, allocations: 4 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.00364, allocations: 0 / 0.6206 GB, free: 10.97 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.0006564/0.004297, allocations: 441.4 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.004339, allocations: 8.031 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.004378, allocations: 46.67 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.004406, allocations: 16.84 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.004555, allocations: 161.5 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004567, allocations: 8.375 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.00458, allocations: 8.375 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.004905, allocations: 180 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.004913, allocations: 192 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.004926, allocations: 8.312 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004932, allocations: 8.125 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.005335, allocations: 223.7 kB / 0.6216 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.005982, allocations: 463.5 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.006258, allocations: 146.5 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.006458, allocations: 112.7 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.006475, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.006498, allocations: 34.56 kB / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.006499, allocations: 192 / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0006875/0.007187, allocations: 365.6 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.007217, allocations: 55.34 kB / 0.6227 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.007327, allocations: 186 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.007341, allocations: 25.7 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.007532, allocations: 128 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.007559, allocations: 27.75 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.007603, allocations: 17.72 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.00768, allocations: 334.8 kB / 0.6234 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.007874, allocations: 103.9 kB / 0.6235 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.008056, allocations: 99.89 kB / 0.6236 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.008424, allocations: 224.6 kB / 0.6238 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008426, allocations: 0 / 0.6238 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004155/0.008842, allocations: 253.4 kB / 0.6241 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.008856, allocations: 4 kB / 0.6241 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.008861, allocations: 0 / 0.6241 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.008874, allocations: 0 / 0.6241 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.009032, allocations: 55.89 kB / 0.6241 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.009036, allocations: 0 / 0.6241 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.009131, allocations: 35.89 kB / 0.6242 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.00914, allocations: 7.938 kB / 0.6242 GB, free: 7.066 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.506e-05/0.009215, allocations: 126.8 kB / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.009235, allocations: 12.33 kB / 0.6243 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.009265, allocations: 21.47 kB / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.009267, allocations: 0 / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.009271, allocations: 4 kB / 0.6243 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.009274, allocations: 3.938 kB / 0.6243 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.009435, allocations: 208.6 kB / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.009438, allocations: 4 kB / 0.6245 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.00955, allocations: 47.94 kB / 0.6246 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.009551, allocations: 0 / 0.6246 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.00956, allocations: 7.938 kB / 0.6246 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009562, allocations: 0 / 0.6246 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009563, allocations: 4 kB / 0.6246 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.009999, allocations: 355.1 kB / 0.6249 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.01001, allocations: 15.84 kB / 0.625 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.01003, allocations: 4 kB / 0.625 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.01014, allocations: 39.94 kB / 0.625 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.01019, allocations: 15.92 kB / 0.625 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.0102, allocations: 0 / 0.625 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.01027, allocations: 139.4 kB / 0.6251 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 0.6251 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001631/0.01043, allocations: 23.94 kB / 0.6252 GB, free: 5.988 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.000638/0.01107, allocations: 0.884 MB / 0.626 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.01149, allocations: 219.7 kB / 0.6262 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.0115, allocations: 0 / 0.6262 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.01169, allocations: 124.2 kB / 0.6264 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01193, allocations: 24.11 kB / 0.6264 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.01395, allocations: 2.14 MB / 0.6285 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.01404, allocations: 114.2 kB / 0.6286 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.286e-05/0.0141, allocations: 24.45 kB / 0.6286 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.01417, allocations: 44.48 kB / 0.6286 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/0.01417, allocations: 4 kB / 0.6287 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.03394, allocations: 4.47 MB / 0.633 GB, free: 14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.678, allocations: 2.406 kB / 0.633 GB, free: 14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.404999730177224] Failed to read output from testmodel.py, exit status != 0: 6.760061712004244 6.76919738 6.763660571 Calling exit ...