Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.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.0007518/0.0007518, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007959/0.0007959, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.8942/0.8942, allocations: 230.6 MB / 256.8 MB, free: 9.816 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.774/0.774, allocations: 203.8 MB / 0.5049 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter") [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.0008874/0.0008874, allocations: 74.64 kB / 0.7195 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4478, allocations: 102 MB / 0.8191 GB, free: 1.562 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00137/0.4491, allocations: 0.6955 MB / 0.8198 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006855/0.4498, allocations: 0.8708 MB / 0.8206 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.4499, allocations: 0 / 0.8206 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.4499, allocations: 4.781 kB / 0.8206 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.45, allocations: 7.781 kB / 0.8206 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.4501, allocations: 25.64 kB / 0.8207 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.4502, allocations: 39.19 kB / 0.8207 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.4503, allocations: 17.28 kB / 0.8207 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.4504, allocations: 24.39 kB / 0.8207 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.4504, allocations: 25.64 kB / 0.8208 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4504, allocations: 12.06 kB / 0.8208 GB, free: 396 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.4504, allocations: 3.281 kB / 0.8208 GB, free: 396 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.4505, allocations: 16.42 kB / 0.8208 GB, free: 384 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.4505, allocations: 20.03 kB / 0.8208 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.593e-05/0.4506, allocations: 45.14 kB / 0.8209 GB, free: 356 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4506, allocations: 0 / 0.8209 GB, free: 356 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4506, allocations: 0 / 0.8209 GB, free: 356 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.4506, allocations: 0 / 0.8209 GB, free: 356 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003469/0.4509, allocations: 286.1 kB / 0.8211 GB, free: 72 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.451, allocations: 10.31 kB / 0.8211 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.451, allocations: 3.375 kB / 0.8211 GB, free: 72 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4511, allocations: 115.5 kB / 0.8213 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4511, allocations: 1.531 kB / 0.8213 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.4512, allocations: 6.406 kB / 0.8213 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4513, allocations: 75.45 kB / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4513, allocations: 0 / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4513, allocations: 0 / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4513, allocations: 0 / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.4514, allocations: 51.14 kB / 0.8214 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.4518, allocations: 258.2 kB / 0.8216 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.4519, allocations: 64.17 kB / 0.8217 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.452, allocations: 36.23 kB / 0.8217 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.452, allocations: 7.984 kB / 0.8217 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.452, allocations: 31.84 kB / 0.8218 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.452, allocations: 0 / 0.8218 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000256/0.4523, allocations: 105.1 kB / 0.8219 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4523, allocations: 61.23 kB / 0.8219 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.4524, allocations: 107.8 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.4524, allocations: 25.7 kB / 0.8221 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.4524, allocations: 94.38 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.4525, allocations: 11.8 kB / 0.8222 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.4525, allocations: 19.2 kB / 0.8222 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.4526, allocations: 321.6 kB / 0.8225 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.4526, allocations: 24.33 kB / 0.8225 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.4527, allocations: 32.58 kB / 0.8225 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4528, allocations: 52.77 kB / 0.8226 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4528, allocations: 0 / 0.8226 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.4529, allocations: 92.91 kB / 0.8227 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4529, allocations: 4.844 kB / 0.8227 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4529, allocations: 0 / 0.8227 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4529, allocations: 4 kB / 0.8227 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.453, allocations: 13.11 kB / 0.8227 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.453, allocations: 4.688 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.4531, allocations: 7.266 kB / 0.8227 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4531, allocations: 2 kB / 0.8227 GB, free: 14.73 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.346e-05/0.4531, allocations: 118.4 kB / 0.8228 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.4531, allocations: 0 / 0.8228 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.4532, allocations: 6.203 kB / 0.8228 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4532, allocations: 4.703 kB / 0.8228 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4532, allocations: 1 kB / 0.8228 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4532, allocations: 0 / 0.8228 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.4533, allocations: 150.4 kB / 0.823 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4533, allocations: 0 / 0.823 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.4533, allocations: 12.53 kB / 0.823 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4533, allocations: 2.281 kB / 0.823 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4534, allocations: 0.6094 kB / 0.823 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4534, allocations: 1.5 kB / 0.823 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4534, allocations: 3.938 kB / 0.823 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.4535, allocations: 189.9 kB / 0.8232 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.4535, allocations: 0.6094 kB / 0.8232 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.4536, allocations: 0.5156 kB / 0.8232 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.4536, allocations: 6.531 kB / 0.8232 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.4537, allocations: 14.5 kB / 0.8232 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4537, allocations: 0.7969 kB / 0.8232 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.4537, allocations: 90.39 kB / 0.8233 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4537, allocations: 0 / 0.8233 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001404/0.4538, allocations: 16.11 kB / 0.8233 GB, free: 14.18 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.955e-05/0.4539, allocations: 102.5 kB / 0.8234 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.4541, allocations: 61.84 kB / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4541, allocations: 0 / 0.8235 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.4542, allocations: 31.28 kB / 0.8235 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.4544, allocations: 8.578 kB / 0.8235 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.4547, allocations: 159.9 kB / 0.8236 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.4549, allocations: 0.6801 MB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.4549, allocations: 12.59 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4549, allocations: 2.438 kB / 0.8243 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.001748/0.4566, allocations: 0.8039 MB / 0.8251 GB, free: 13.16 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46063973614946] Failed to read output from testmodel.py, exit status != 0: 0.46276934910565615 0.47246579199999994 0.020097623000000002 Calling exit ...