Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.0007522/0.0007522, allocations: 76.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.0008388/0.0008388, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8699/0.8699, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7434/0.7434, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") [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.0008766/0.0008766, allocations: 71.91 kB / 0.6196 GB, free: 13.14 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.5453/0.5462, allocations: 102 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001572/0.5477, allocations: 0.7359 MB / 0.7198 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.5485, allocations: 0.881 MB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.5486, allocations: 6.25 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.5486, allocations: 8.672 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.5487, allocations: 10.77 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.5489, allocations: 40.75 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.5491, allocations: 81.72 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.5492, allocations: 31.8 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.5493, allocations: 58.75 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.5494, allocations: 44.12 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.5494, allocations: 7.531 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.5494, allocations: 7.5 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.5495, allocations: 19.81 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.5495, allocations: 35.48 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.5497, allocations: 82.89 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5497, allocations: 0 / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5497, allocations: 0 / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.5497, allocations: 1 kB / 0.7211 GB, free: 22.34 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.0005435/0.5502, allocations: 318.2 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5503, allocations: 10.22 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.5503, allocations: 9.609 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.5504, allocations: 128.6 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.5505, allocations: 7.75 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.5505, allocations: 7.5 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.5507, allocations: 104.4 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5507, allocations: 1.469 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5507, allocations: 9.062 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5508, allocations: 1.25 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.551, allocations: 101.2 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.5514, allocations: 266.5 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.5519, allocations: 120.1 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.552, allocations: 60.83 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.552, allocations: 5.156 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.552, allocations: 32.42 kB / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.552, allocations: 0 / 0.7222 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004658/0.5525, allocations: 178.6 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.5525, allocations: 52.83 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.5526, allocations: 128.2 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.5526, allocations: 25.7 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.5527, allocations: 101 kB / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.5527, allocations: 16.39 kB / 0.7227 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.5527, allocations: 27.3 kB / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.5528, allocations: 323.1 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.5529, allocations: 44.58 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.553, allocations: 48.09 kB / 0.7231 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.5532, allocations: 105.2 kB / 0.7232 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5532, allocations: 4 kB / 0.7233 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002496/0.5535, allocations: 134 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5535, allocations: 5.906 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5535, allocations: 4.656 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5535, allocations: 1.125 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.5536, allocations: 28.14 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5536, allocations: 0 / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.5537, allocations: 17.09 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.5537, allocations: 6.375 kB / 0.7234 GB, free: 20.61 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,add1.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.788e-05/0.5537, allocations: 116.3 kB / 0.7236 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.5537, allocations: 10.27 kB / 0.7236 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.5538, allocations: 15.97 kB / 0.7236 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5538, allocations: 1.406 kB / 0.7236 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5538, allocations: 0 / 0.7236 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5538, allocations: 5.109 kB / 0.7236 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.5539, allocations: 132.7 kB / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5539, allocations: 1.156 kB / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.554, allocations: 24.12 kB / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.554, allocations: 0 / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.554, allocations: 2.156 kB / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.554, allocations: 1.125 kB / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.554, allocations: 4 kB / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.5543, allocations: 247.8 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.5543, allocations: 7.266 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.5543, allocations: 2.297 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.5544, allocations: 12.52 kB / 0.724 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.5544, allocations: 20.83 kB / 0.724 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5545, allocations: 7.172 kB / 0.724 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.5545, allocations: 97.61 kB / 0.7241 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5545, allocations: 0 / 0.7241 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000155/0.5547, allocations: 16.16 kB / 0.7241 GB, free: 20.06 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 (add1.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.0001013/0.5548, allocations: 93.97 kB / 0.7242 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.5551, allocations: 105.1 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5551, allocations: 5.156 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5552, allocations: 59.31 kB / 0.7244 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5554, allocations: 6.25 kB / 0.7244 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.5558, allocations: 176.6 kB / 0.7246 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.5559, allocations: 82.34 kB / 0.7246 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.5559, allocations: 12.64 kB / 0.7246 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.556, allocations: 22.27 kB / 0.7247 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.556, allocations: 4 kB / 0.7247 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.004272/0.5603, allocations: 1.707 MB / 0.7263 GB, free: 19.52 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.352435535052791] Failed to read output from testmodel.py, exit status != 0: 0.5663308011135086 0.5753227710000001 0.023902957000000002 Calling exit ...