Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001345/0.001345, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001417/0.001417, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.206/1.206, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.6186 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.056e-05, allocations: 5.125 kB / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001669/0.001699, allocations: 0.6836 MB / 0.6193 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.002806, allocations: 0.8281 MB / 0.6201 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.002846, allocations: 8 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.002871, allocations: 3.938 kB / 0.6201 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.002937, allocations: 3.938 kB / 0.6201 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.003042, allocations: 19.92 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.293e-05/0.003135, allocations: 51.78 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.003232, allocations: 11.98 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.003316, allocations: 19.98 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.003373, allocations: 19.91 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003394, allocations: 4 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.003406, allocations: 8 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.003425, allocations: 4 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.003451, allocations: 8 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003552, allocations: 51.78 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003555, allocations: 0 / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003555, allocations: 0 / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00356, allocations: 0 / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005074/0.004067, allocations: 286.2 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.004105, allocations: 12.03 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.004141, allocations: 12.88 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.004253, allocations: 105.8 kB / 0.6207 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004264, allocations: 384 / 0.6207 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.004277, allocations: 8.359 kB / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.004535, allocations: 70.16 kB / 0.6208 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.004544, allocations: 192 / 0.6208 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.004554, allocations: 384 / 0.6208 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.004561, allocations: 4.375 kB / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.004858, allocations: 67.86 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.005179, allocations: 208.6 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.005405, allocations: 58.47 kB / 0.6211 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.005569, allocations: 36.92 kB / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.005595, allocations: 3.984 kB / 0.6212 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.005622, allocations: 38.5 kB / 0.6212 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.005624, allocations: 0 / 0.6212 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000567/0.006191, allocations: 129.5 kB / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.006234, allocations: 51.41 kB / 0.6214 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.006345, allocations: 105.8 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.006362, allocations: 33.64 kB / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.006421, allocations: 96.06 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.006445, allocations: 15.89 kB / 0.6216 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.00648, allocations: 13.72 kB / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.006622, allocations: 314.8 kB / 0.6219 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.006774, allocations: 31.95 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.006915, allocations: 27.97 kB / 0.622 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.007204, allocations: 72.78 kB / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007205, allocations: 0 / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003379/0.007543, allocations: 97.62 kB / 0.6221 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.007558, allocations: 11.88 kB / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.007564, allocations: 0 / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.007582, allocations: 7.984 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.007713, allocations: 19.92 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007718, allocations: 0 / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.007799, allocations: 11.98 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.007806, allocations: 0 / 0.6222 GB, free: 0.6797 MB / 0.5294 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 (3): * Single equations (assignments): 3 * 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.419e-05/0.007891, allocations: 111.7 kB / 0.6223 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.007918, allocations: 7.953 kB / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.008304, allocations: 109.5 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.008308, allocations: 4.375 kB / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.008313, allocations: 3.984 kB / 0.6224 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.008316, allocations: 0 / 0.6224 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.008465, allocations: 113.3 kB / 0.6225 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008466, allocations: 0 / 0.6225 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.994e-05/0.008566, allocations: 15.98 kB / 0.6225 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.008576, allocations: 3.984 kB / 0.6225 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008584, allocations: 7.938 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.008587, allocations: 3.938 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008588, allocations: 0 / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.008973, allocations: 199.4 kB / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.008981, allocations: 3.938 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.008998, allocations: 4 kB / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.009113, allocations: 19.92 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.009156, allocations: 7.984 kB / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.00916, allocations: 0 / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.009224, allocations: 87.28 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.009224, allocations: 0 / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002167/0.009441, allocations: 4 kB / 0.6229 GB, free: 15.92 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.0001283/0.009569, allocations: 95.23 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.009929, allocations: 75.86 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00993, allocations: 0 / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.0101, allocations: 31.97 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.01042, allocations: 11.98 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.01076, allocations: 116.7 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.256e-05/0.01082, allocations: 67.34 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.01085, allocations: 4 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.01088, allocations: 12.5 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 6.22e-07/0.01088, allocations: 3.938 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Templates: time 0.003126/0.01401, allocations: 0.7369 MB / 0.624 GB, free: 14.74 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.619689457118511] Failed to read output from testmodel.py, exit status != 0: 0.02238413691520691 0.036685970000000005 0.030237254 Calling exit ...