Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0007321/0.0007321, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007679/0.0007679, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8392/0.8392, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.6892/0.6892, allocations: 154.6 MB / 414.5 MB, free: 0.793 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.661e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0009872/0.001004, allocations: 0.6469 MB / 0.62 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.001131, allocations: 11.98 kB / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.001166, allocations: 4 kB / 0.62 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.567e-05/0.001252, allocations: 3.938 kB / 0.62 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.001288, allocations: 7.938 kB / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.431e-05/0.001352, allocations: 0 / 0.62 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.001427, allocations: 31.91 kB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.001534, allocations: 19.98 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.001563, allocations: 15.98 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.843e-05/0.001592, allocations: 15.92 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.001613, allocations: 4 kB / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.001622, allocations: 0 / 0.6201 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.001647, allocations: 19.92 kB / 0.6201 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.001669, allocations: 11.92 kB / 0.6202 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.163e-05/0.001751, allocations: 55.73 kB / 0.6202 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.001753, allocations: 0 / 0.6202 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.001754, allocations: 0 / 0.6202 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.001757, allocations: 0 / 0.6202 GB, free: 12.26 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002404/0.001997, allocations: 266.3 kB / 0.6205 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.002027, allocations: 8.031 kB / 0.6205 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.002051, allocations: 8.891 kB / 0.6205 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.002161, allocations: 125.7 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.002171, allocations: 4.375 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.002183, allocations: 12.38 kB / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.002306, allocations: 81.88 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.002313, allocations: 192 / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.002321, allocations: 384 / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.002326, allocations: 4.375 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.237e-05/0.002378, allocations: 55.84 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.002686, allocations: 406.9 kB / 0.6211 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.494e-05/0.002741, allocations: 165.1 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.002764, allocations: 84.14 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.00278, allocations: 75.28 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.002811, allocations: 113.8 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.002812, allocations: 0 / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.849e-05/0.00286, allocations: 33.62 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.002906, allocations: 130.7 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.002985, allocations: 121.8 kB / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.002992, allocations: 25.7 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.003035, allocations: 100 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.003037, allocations: 0 / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.00306, allocations: 13.72 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.003128, allocations: 322.8 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.003141, allocations: 4 kB / 0.6223 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.003151, allocations: 11.98 kB / 0.6223 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.00318, allocations: 20.8 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.003181, allocations: 0 / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.058e-05/0.003272, allocations: 53.62 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.003282, allocations: 6.344 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.003286, allocations: 0 / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.003298, allocations: 4 kB / 0.6224 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-05/0.003339, allocations: 0 / 0.6224 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.003344, allocations: 0 / 0.6224 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.003356, allocations: 8.094 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.003363, allocations: 3.938 kB / 0.6224 GB, free: 9.863 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 (1): * Single equations (assignments): 1 * 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 6.661e-05/0.00343, allocations: 202 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.003464, allocations: 108.9 kB / 0.6227 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.003496, allocations: 112.5 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/0.003532, allocations: 184.2 kB / 0.623 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-05/0.003571, allocations: 184.2 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-05/0.003606, allocations: 176.3 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.003992, allocations: 376.7 kB / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.004014, allocations: 105 kB / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.004036, allocations: 109 kB / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.94e-05/0.004075, allocations: 188.2 kB / 0.624 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.004113, allocations: 176.5 kB / 0.6242 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.551e-05/0.004149, allocations: 184.2 kB / 0.6244 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.815e-05/0.004187, allocations: 184.2 kB / 0.6246 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.886e-05/0.004266, allocations: 307.7 kB / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.004292, allocations: 108.9 kB / 0.625 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.004335, allocations: 184.2 kB / 0.6251 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.314e-05/0.004378, allocations: 101 kB / 0.6252 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.004418, allocations: 184.2 kB / 0.6254 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.004438, allocations: 101 kB / 0.6255 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.004475, allocations: 103.3 kB / 0.6256 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004475, allocations: 0 / 0.6256 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001352/0.00461, allocations: 7.938 kB / 0.6256 GB, free: 6.363 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 (0): * Single equations (assignments): 0 * 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 7.913e-05/0.004689, allocations: 174.5 kB / 0.6258 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.416e-05/0.004743, allocations: 8 kB / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004745, allocations: 0 / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-06/0.004748, allocations: 3.938 kB / 0.6258 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.005006, allocations: 459.6 kB / 0.6262 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.005217, allocations: 241.9 kB / 0.6265 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.005268, allocations: 79.33 kB / 0.6265 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.005291, allocations: 8.5 kB / 0.6265 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.005291, allocations: 0 / 0.6265 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of Templates: time 0.001306/0.006597, allocations: 0.6588 MB / 0.6272 GB, free: 4.684 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.79948069807142] Failed to read output from testmodel.py, exit status != 0: 0.01054394617676735 0.017956167000000002 0.014707189 Calling exit ...