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.0009547/0.0009547, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 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.001164/0.001164, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9735/0.9735, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7214/0.7214, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009608/0.0009608, allocations: 72.52 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.5447, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002114/0.5468, allocations: 0.7433 MB / 0.7198 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.5477, allocations: 0.8897 MB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.5478, allocations: 1.219 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.5478, allocations: 5.203 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.224e-05/0.5479, allocations: 11.5 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.5481, allocations: 45.36 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.5482, allocations: 85.73 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.5484, allocations: 22.52 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.5485, allocations: 51.42 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.5485, allocations: 43.75 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.5486, allocations: 20.73 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.5486, allocations: 7.812 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.5486, allocations: 18.42 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.5486, allocations: 26.92 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.5488, allocations: 91.98 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5488, allocations: 0 / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.377e-06/0.5488, allocations: 1.25 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.5488, allocations: 0 / 0.7211 GB, free: 22.32 MB / 0.6355 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.0004892/0.5493, allocations: 317.9 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5493, allocations: 13.5 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.5494, allocations: 13.3 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.5495, allocations: 128.9 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5495, allocations: 7.781 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.5495, allocations: 8.562 kB / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.5497, allocations: 100.7 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5498, allocations: 0.7969 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5498, allocations: 1.031 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5498, allocations: 2.156 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.55, allocations: 100.7 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.5504, allocations: 266.8 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.5508, allocations: 111.7 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.5509, allocations: 58.31 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.5509, allocations: 1.859 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.5509, allocations: 32.78 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5509, allocations: 7.875 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004169/0.5513, allocations: 183.2 kB / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.5514, allocations: 57.25 kB / 0.7225 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.5514, allocations: 125.9 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.5514, allocations: 30.86 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.5515, allocations: 92.98 kB / 0.7227 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.5515, allocations: 19.94 kB / 0.7227 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.5515, allocations: 24.23 kB / 0.7227 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.5516, allocations: 323.2 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.5517, allocations: 44.19 kB / 0.7231 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5518, allocations: 53.47 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.552, allocations: 101.1 kB / 0.7232 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.552, allocations: 0 / 0.7232 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002369/0.5522, allocations: 138.8 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5522, allocations: 4.5 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5522, allocations: 6.125 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5522, allocations: 0 / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.5523, allocations: 29.3 kB / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5523, allocations: 0 / 0.7234 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.5524, allocations: 20.48 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.5524, allocations: 2.984 kB / 0.7234 GB, free: 20.6 MB / 0.6355 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 5.522e-05/0.5525, allocations: 119.3 kB / 0.7235 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.5525, allocations: 11.14 kB / 0.7236 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.5528, allocations: 145.1 kB / 0.7237 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5528, allocations: 1.438 kB / 0.7237 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5528, allocations: 1.375 kB / 0.7237 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5528, allocations: 4.641 kB / 0.7237 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.5529, allocations: 133.1 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5529, allocations: 7.938 kB / 0.7238 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.553, allocations: 28.08 kB / 0.7239 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.553, allocations: 2.328 kB / 0.7239 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.553, allocations: 5.062 kB / 0.7239 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.553, allocations: 5.438 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.553, allocations: 1 kB / 0.7239 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.5533, allocations: 236.1 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.5533, allocations: 6.141 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5533, allocations: 2.234 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.5534, allocations: 15.22 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.5534, allocations: 22.25 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.5534, allocations: 3.547 kB / 0.7242 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.5535, allocations: 93.41 kB / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5535, allocations: 0 / 0.7242 GB, free: 20 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001496/0.5536, allocations: 19.84 kB / 0.7243 GB, free: 19.99 MB / 0.6355 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 8.145e-05/0.5537, allocations: 100.9 kB / 0.7244 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.554, allocations: 102.9 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.554, allocations: 1.094 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.5541, allocations: 59.14 kB / 0.7245 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.5543, allocations: 13.52 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.5546, allocations: 179.5 kB / 0.7247 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.5547, allocations: 81.64 kB / 0.7248 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.433e-05/0.5547, allocations: 16.58 kB / 0.7248 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.5548, allocations: 22.91 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.5548, allocations: 0 / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.003502/0.5583, allocations: 1.703 MB / 0.7265 GB, free: 19.46 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.482747333939187] Failed to read output from testmodel.py, exit status != 0: 0.5665522230556235 0.579024199 0.027408938 Calling exit ...