Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008147/0.0008147, allocations: 100.4 kB / 19.7 MB, free: 448 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.001365/0.001365, allocations: 216.9 kB / 23 MB, free: 2.988 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.8543/0.8543, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.6971/0.6971, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008855/0.0008855, allocations: 67.73 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4207, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001316/0.4221, allocations: 0.7372 MB / 0.8197 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.4227, allocations: 0.8923 MB / 0.8206 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.4227, allocations: 0 / 0.8206 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.4228, allocations: 9.047 kB / 0.8206 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.4228, allocations: 9.906 kB / 0.8206 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.423, allocations: 43.23 kB / 0.8207 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.4231, allocations: 92.98 kB / 0.8208 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4232, allocations: 20.2 kB / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.4232, allocations: 37.03 kB / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.4233, allocations: 47.55 kB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.4233, allocations: 12.97 kB / 0.8209 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.4233, allocations: 8.469 kB / 0.8209 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.4234, allocations: 19.38 kB / 0.8209 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.4234, allocations: 24.98 kB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.4235, allocations: 95.69 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4235, allocations: 0.5625 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4235, allocations: 0 / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4235, allocations: 0 / 0.821 GB, free: 15.99 MB / 0.6198 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.0004548/0.424, allocations: 318.6 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.424, allocations: 15.42 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.4241, allocations: 9.672 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.4242, allocations: 116.5 kB / 0.8215 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4242, allocations: 10.48 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.4242, allocations: 7.156 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.4244, allocations: 107.5 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4244, allocations: 4 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4244, allocations: 4 kB / 0.8216 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4244, allocations: 7.531 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.4246, allocations: 95.03 kB / 0.8217 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.425, allocations: 269.9 kB / 0.8219 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.4253, allocations: 120.1 kB / 0.822 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4254, allocations: 57.44 kB / 0.8221 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.4255, allocations: 1.75 kB / 0.8221 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.4255, allocations: 41.03 kB / 0.8221 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4255, allocations: 0 / 0.8221 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003847/0.4259, allocations: 191.7 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.4259, allocations: 51.41 kB / 0.8224 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.426, allocations: 125 kB / 0.8225 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.426, allocations: 25.7 kB / 0.8225 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.426, allocations: 99.53 kB / 0.8226 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.426, allocations: 16.08 kB / 0.8226 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.4261, allocations: 28.25 kB / 0.8227 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.4262, allocations: 325.1 kB / 0.823 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.4262, allocations: 40.95 kB / 0.823 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.4263, allocations: 47.64 kB / 0.8231 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.4265, allocations: 96.48 kB / 0.8231 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4265, allocations: 0 / 0.8231 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002285/0.4268, allocations: 146.7 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4268, allocations: 5.422 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4268, allocations: 1 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4268, allocations: 0.8438 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.4269, allocations: 25 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.4269, allocations: 0 / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.4269, allocations: 15.72 kB / 0.8233 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.4269, allocations: 8.047 kB / 0.8233 GB, free: 14.27 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.334e-05/0.427, allocations: 117.5 kB / 0.8235 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.427, allocations: 12.14 kB / 0.8235 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.427, allocations: 9.938 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.427, allocations: 1.922 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.427, allocations: 0 / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.427, allocations: 2.688 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.4272, allocations: 132 kB / 0.8236 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4272, allocations: 3.938 kB / 0.8236 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.4272, allocations: 28.66 kB / 0.8236 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4272, allocations: 0 / 0.8236 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4272, allocations: 7.438 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.4272, allocations: 0 / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4272, allocations: 1.688 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4275, allocations: 235.7 kB / 0.8239 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.4275, allocations: 10.72 kB / 0.8239 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4275, allocations: 5.094 kB / 0.8239 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.4276, allocations: 16.88 kB / 0.8239 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.4276, allocations: 21.94 kB / 0.8239 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.4277, allocations: 2.547 kB / 0.8239 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.4277, allocations: 92.77 kB / 0.824 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4277, allocations: 1.156 kB / 0.824 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001474/0.4278, allocations: 15 kB / 0.824 GB, free: 13.72 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 8.04e-05/0.4279, allocations: 106.1 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.4282, allocations: 110.4 kB / 0.8242 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.4282, allocations: 0 / 0.8242 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4283, allocations: 58.2 kB / 0.8243 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.4285, allocations: 12.92 kB / 0.8243 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.4288, allocations: 196.8 kB / 0.8245 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.4289, allocations: 82.88 kB / 0.8246 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.4289, allocations: 15.52 kB / 0.8246 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.4289, allocations: 0 / 0.8246 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.002084/0.431, allocations: 1.258 MB / 0.8258 GB, free: 13.23 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.21377277886495] Failed to read output from testmodel.py, exit status != 0: 0.4362511970102787 0.444918775 0.01964644499999994 Calling exit ...