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.000701/0.000701, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007746/0.0007746, allocations: 212.7 kB / 23 MB, free: 2.984 MB / 13.93 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.8825/0.8825, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7508/0.7508, allocations: 203.5 MB / 0.5046 GB, free: 10.72 MB / 410.7 MB " [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.0008517/0.0008517, allocations: 63.16 kB / 0.719 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4451, allocations: 102 MB / 0.8186 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001351/0.4465, allocations: 0.7391 MB / 0.8193 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006406/0.4471, allocations: 0.883 MB / 0.8202 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.4472, allocations: 2.5 kB / 0.8202 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.4472, allocations: 5.062 kB / 0.8202 GB, free: 408 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.4473, allocations: 13.47 kB / 0.8202 GB, free: 396 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.4474, allocations: 47.34 kB / 0.8203 GB, free: 368 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.4475, allocations: 81.73 kB / 0.8203 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4476, allocations: 32.02 kB / 0.8204 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.815e-05/0.4477, allocations: 40.81 kB / 0.8204 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.4478, allocations: 37.75 kB / 0.8204 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4478, allocations: 7.625 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.4478, allocations: 9.469 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.4478, allocations: 23.72 kB / 0.8205 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.4479, allocations: 33.25 kB / 0.8205 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.448, allocations: 86.73 kB / 0.8206 GB, free: 208 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.448, allocations: 3.938 kB / 0.8206 GB, free: 204 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.448, allocations: 0.7031 kB / 0.8206 GB, free: 204 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.448, allocations: 0 / 0.8206 GB, free: 204 kB / 0.6042 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.0004286/0.4484, allocations: 318.9 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4484, allocations: 9.312 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.4485, allocations: 8.688 kB / 0.8209 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/0.4486, allocations: 125.5 kB / 0.821 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4486, allocations: 15.84 kB / 0.8211 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.4486, allocations: 4 kB / 0.8211 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.4488, allocations: 109.7 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.4488, allocations: 0 / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4488, allocations: 4 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4488, allocations: 4.156 kB / 0.8212 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.449, allocations: 96.56 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.4495, allocations: 270 kB / 0.8215 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.4499, allocations: 111 kB / 0.8216 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.45, allocations: 58.34 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.45, allocations: 3.938 kB / 0.8217 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.45, allocations: 34.55 kB / 0.8217 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.45, allocations: 4 kB / 0.8217 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/0.4504, allocations: 183.4 kB / 0.8219 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.4505, allocations: 51.41 kB / 0.822 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.4505, allocations: 124.3 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.4506, allocations: 25.7 kB / 0.8221 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.4506, allocations: 104.1 kB / 0.8222 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4506, allocations: 20.19 kB / 0.8222 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.4507, allocations: 27.47 kB / 0.8222 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.4507, allocations: 319.7 kB / 0.8225 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.4508, allocations: 44.97 kB / 0.8226 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.4509, allocations: 52.2 kB / 0.8226 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.4511, allocations: 98.53 kB / 0.8227 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4511, allocations: 0 / 0.8227 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002189/0.4513, allocations: 141.2 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4513, allocations: 5.469 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4513, allocations: 0 / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4514, allocations: 1.75 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.4514, allocations: 27.23 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4515, allocations: 6.375 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.4515, allocations: 17.62 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.4515, allocations: 8.688 kB / 0.8229 GB, free: 14.47 MB / 0.6198 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 6.169e-05/0.4516, allocations: 117.7 kB / 0.823 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.4516, allocations: 7.469 kB / 0.823 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.4516, allocations: 10.61 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4516, allocations: 1.781 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4516, allocations: 4.938 kB / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4516, allocations: 0 / 0.8231 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.4517, allocations: 137.3 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.4517, allocations: 0 / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.4518, allocations: 24.16 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.4518, allocations: 1.031 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.4518, allocations: 2.391 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4518, allocations: 0.75 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4518, allocations: 0 / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.4521, allocations: 249 kB / 0.8235 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.4521, allocations: 7.078 kB / 0.8235 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4521, allocations: 1.078 kB / 0.8235 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.4522, allocations: 11.62 kB / 0.8235 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.4522, allocations: 20.81 kB / 0.8235 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.4522, allocations: 4.016 kB / 0.8235 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.4523, allocations: 101.6 kB / 0.8236 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4523, allocations: 4 kB / 0.8236 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001537/0.4524, allocations: 13 kB / 0.8236 GB, free: 13.92 MB / 0.6198 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 6.881e-05/0.4525, allocations: 101 kB / 0.8237 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.4527, allocations: 105.9 kB / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.4527, allocations: 0 / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4528, allocations: 57.81 kB / 0.8239 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4531, allocations: 8.422 kB / 0.8239 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.4534, allocations: 202.2 kB / 0.8241 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.4534, allocations: 79.23 kB / 0.8241 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.4535, allocations: 19.17 kB / 0.8242 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.4535, allocations: 3.938 kB / 0.8242 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.002347/0.4558, allocations: 1.252 MB / 0.8254 GB, free: 13.44 MB / 0.6198 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.396585415117443] Failed to read output from testmodel.py, exit status != 0: 0.4609685833565891 0.470901331 0.021048761000000003 Calling exit ...