Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.001287/0.001287, allocations: 78.56 kB / 19.18 MB, free: 2.516 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.001451/0.001451, allocations: 163.9 kB / 22.46 MB, free: 5.367 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.433/1.433, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.198/1.198, allocations: 154.7 MB / 413.9 MB, free: 5.125 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 0.6188 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.348e-05, allocations: 5.391 kB / 0.6188 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001868/0.001892, allocations: 0.7352 MB / 0.6195 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.003313, allocations: 0.891 MB / 0.6203 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.003363, allocations: 1.75 kB / 0.6203 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.003395, allocations: 7.875 kB / 0.6204 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.761e-05/0.003483, allocations: 7.938 kB / 0.6204 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.003679, allocations: 47.81 kB / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003823, allocations: 88.59 kB / 0.6205 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.003936, allocations: 19.98 kB / 0.6205 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.004053, allocations: 54.39 kB / 0.6206 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.004142, allocations: 39.89 kB / 0.6206 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.004168, allocations: 8 kB / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.004183, allocations: 8 kB / 0.6206 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.00421, allocations: 19.97 kB / 0.6206 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.004249, allocations: 31.89 kB / 0.6207 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.004386, allocations: 87.72 kB / 0.6207 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004388, allocations: 0.5 kB / 0.6208 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004388, allocations: 4.719 kB / 0.6208 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004392, allocations: 0 / 0.6208 GB, free: 2.516 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006192/0.005012, allocations: 322 kB / 0.6211 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.005047, allocations: 8.031 kB / 0.6211 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.005081, allocations: 8.891 kB / 0.6211 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.005246, allocations: 129.5 kB / 0.6212 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.005263, allocations: 384 / 0.6212 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.005286, allocations: 8.375 kB / 0.6212 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.005595, allocations: 102.2 kB / 0.6213 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.005607, allocations: 7.938 kB / 0.6213 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.00562, allocations: 3.984 kB / 0.6213 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005627, allocations: 4 kB / 0.6213 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.005989, allocations: 95.91 kB / 0.6214 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.006497, allocations: 272.3 kB / 0.6217 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.007134, allocations: 126.5 kB / 0.6218 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.007324, allocations: 52.81 kB / 0.6218 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.007348, allocations: 0 / 0.6218 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.007386, allocations: 38.55 kB / 0.6219 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.007387, allocations: 0 / 0.6219 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007048/0.008092, allocations: 181.5 kB / 0.6221 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.008142, allocations: 55.41 kB / 0.6221 GB, free: 1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.008257, allocations: 124.9 kB / 0.6222 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.00828, allocations: 29.7 kB / 0.6223 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.008349, allocations: 92.09 kB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.00838, allocations: 23.78 kB / 0.6224 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.008431, allocations: 33.58 kB / 0.6224 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.008581, allocations: 314.8 kB / 0.6227 GB, free: 372 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.008781, allocations: 51.95 kB / 0.6227 GB, free: 320 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.008951, allocations: 47.95 kB / 0.6228 GB, free: 272 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.009286, allocations: 92.77 kB / 0.6229 GB, free: 176 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009288, allocations: 0 / 0.6229 GB, free: 176 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004104/0.009698, allocations: 145.5 kB / 0.623 GB, free: 24 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.009716, allocations: 7.984 kB / 0.623 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.009722, allocations: 0 / 0.623 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.009737, allocations: 0 / 0.623 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.009928, allocations: 28.02 kB / 0.6231 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.009935, allocations: 4 kB / 0.6231 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.01005, allocations: 11.98 kB / 0.6231 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.01006, allocations: 8 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001116/0.01017, allocations: 119.6 kB / 0.6232 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.01021, allocations: 11.94 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.01067, allocations: 142 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01067, allocations: 4 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01067, allocations: 4 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01068, allocations: 4 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.01086, allocations: 133.2 kB / 0.6235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01086, allocations: 0 / 0.6235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.01102, allocations: 27.91 kB / 0.6235 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01103, allocations: 0 / 0.6235 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01104, allocations: 3.984 kB / 0.6235 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01104, allocations: 0 / 0.6235 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01104, allocations: 0 / 0.6235 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.01153, allocations: 248 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.01154, allocations: 7.891 kB / 0.6238 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01156, allocations: 4 kB / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.0117, allocations: 7.984 kB / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.01179, allocations: 23.97 kB / 0.6238 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.0118, allocations: 0 / 0.6238 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.01187, allocations: 99.27 kB / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01187, allocations: 0 / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002256/0.01209, allocations: 16 kB / 0.6239 GB, free: 15.06 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001201/0.01221, allocations: 99.17 kB / 0.624 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.01264, allocations: 103.9 kB / 0.6241 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01264, allocations: 0 / 0.6241 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.01285, allocations: 71.94 kB / 0.6242 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.01316, allocations: 12.03 kB / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.01362, allocations: 181.4 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.868e-05/0.0137, allocations: 71.33 kB / 0.6244 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.816e-05/0.01377, allocations: 12 kB / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.298e-05/0.01383, allocations: 24.48 kB / 0.6244 GB, free: 14.44 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.01383, allocations: 0 / 0.6244 GB, free: 14.44 MB / 0.545 GB Notification: Performance of Templates: time 0.004506/0.01834, allocations: 1.712 MB / 0.6261 GB, free: 12.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.732309186831117] Failed to read output from testmodel.py, exit status != 0: 0.02693895436823368 0.041502924000000004 0.03408999 Calling exit ...