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.0009187/0.0009187, allocations: 80.44 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.001103/0.001103, allocations: 169.8 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.9753/0.9753, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7334/0.7334, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.0007897/0.0007897, allocations: 70.25 kB / 0.6195 GB, free: 13.09 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.5422/0.543, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001749/0.5447, allocations: 0.7429 MB / 0.7198 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000908/0.5456, allocations: 0.8911 MB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.5457, allocations: 1.125 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.5457, allocations: 9.234 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.5458, allocations: 6.203 kB / 0.7207 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.546, allocations: 47.58 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.5461, allocations: 85.7 kB / 0.7208 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.5463, allocations: 22.12 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.5464, allocations: 63.03 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.5465, allocations: 41.09 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.5465, allocations: 7.094 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.5465, allocations: 9 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.5466, allocations: 19.2 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.5466, allocations: 35.33 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.5468, allocations: 86.34 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5468, allocations: 1.156 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5468, allocations: 0 / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.5468, allocations: 0 / 0.7211 GB, free: 22.3 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.0005507/0.5473, allocations: 318.6 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.5474, allocations: 13.45 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.5474, allocations: 13.2 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.5476, allocations: 122.1 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.5476, allocations: 3.031 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5476, allocations: 12.03 kB / 0.7216 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.5479, allocations: 101.7 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5479, allocations: 0 / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.5479, allocations: 5.125 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.5479, allocations: 1.062 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.5482, allocations: 101 kB / 0.7218 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.5487, allocations: 272 kB / 0.722 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.5492, allocations: 119.5 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.5493, allocations: 57.75 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.5493, allocations: 1.094 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.5494, allocations: 33.53 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5494, allocations: 0 / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005373/0.5499, allocations: 187.8 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.5499, allocations: 52.5 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.55, allocations: 129.8 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.55, allocations: 25.7 kB / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.5501, allocations: 98.55 kB / 0.7227 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.5501, allocations: 15.89 kB / 0.7227 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.5501, allocations: 23.48 kB / 0.7227 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.5502, allocations: 324.5 kB / 0.7231 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.5503, allocations: 46.59 kB / 0.7231 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.5504, allocations: 48.97 kB / 0.7231 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.5507, allocations: 96.62 kB / 0.7232 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5507, allocations: 0 / 0.7232 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002724/0.5509, allocations: 143.4 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.551, allocations: 4.969 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.551, allocations: 5.25 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.551, allocations: 3.938 kB / 0.7234 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5511, allocations: 25.17 kB / 0.7234 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.5511, allocations: 0 / 0.7234 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.938e-05/0.5511, allocations: 20.47 kB / 0.7234 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5512, allocations: 7.328 kB / 0.7234 GB, free: 20.57 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 6.32e-05/0.5512, allocations: 120.2 kB / 0.7236 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.5512, allocations: 10.8 kB / 0.7236 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.5516, allocations: 149.3 kB / 0.7237 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5516, allocations: 1.188 kB / 0.7237 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5516, allocations: 1.188 kB / 0.7237 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5516, allocations: 8.594 kB / 0.7237 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.5517, allocations: 129.1 kB / 0.7238 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5517, allocations: 3.938 kB / 0.7238 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.5518, allocations: 24.72 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5518, allocations: 1.094 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.5518, allocations: 2.062 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5518, allocations: 0.9375 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5518, allocations: 1.125 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.5521, allocations: 243 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.5521, allocations: 8.266 kB / 0.7241 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.5522, allocations: 1.625 kB / 0.7241 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.5522, allocations: 15.09 kB / 0.7241 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.5523, allocations: 22.58 kB / 0.7241 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.5523, allocations: 3.875 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.5524, allocations: 99.56 kB / 0.7242 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5524, allocations: 0 / 0.7242 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001647/0.5525, allocations: 16.02 kB / 0.7243 GB, free: 19.96 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 0.0001194/0.5527, allocations: 102.4 kB / 0.7244 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.553, allocations: 101.2 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.553, allocations: 0 / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.5531, allocations: 68.39 kB / 0.7245 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.5534, allocations: 8.75 kB / 0.7245 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.5538, allocations: 170.8 kB / 0.7247 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.287e-05/0.5539, allocations: 81.36 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.5539, allocations: 13.72 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.554, allocations: 21.14 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.554, allocations: 0.9688 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.003982/0.558, allocations: 1.712 MB / 0.7265 GB, free: 19.43 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.496071991045028] Failed to read output from testmodel.py, exit status != 0: 0.5640193310100585 0.5731185369999999 0.024522412 Calling exit ...