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.001383/0.001383, allocations: 81.27 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001414/0.001414, allocations: 162.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.235/1.235, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.524e-05, allocations: 3.344 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.001946/0.001981, allocations: 0.7411 MB / 0.6193 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.003263, allocations: 0.892 MB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.00331, allocations: 0 / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.003347, allocations: 3.938 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.553e-05/0.003433, allocations: 15.8 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.003602, allocations: 39.89 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.003736, allocations: 88.33 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.003853, allocations: 27.97 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.003966, allocations: 51.89 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.572e-05/0.004052, allocations: 39.88 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.004081, allocations: 8 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.0041, allocations: 8 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.00414, allocations: 19.97 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.004179, allocations: 19.92 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004336, allocations: 107.6 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.004339, allocations: 0 / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.92e-07/0.00434, allocations: 0 / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.004345, allocations: 0 / 0.6206 GB, free: 2.492 MB / 0.5294 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.000658/0.005003, allocations: 318 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.005045, allocations: 8.031 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.005089, allocations: 8.891 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.00523, allocations: 121.7 kB / 0.621 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.005247, allocations: 4.312 kB / 0.621 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.005264, allocations: 8.375 kB / 0.621 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.005588, allocations: 106.1 kB / 0.6211 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.0056, allocations: 7.938 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.005613, allocations: 0 / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005619, allocations: 7.938 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.006002, allocations: 99.89 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.006515, allocations: 268.3 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.007182, allocations: 126.5 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.007387, allocations: 56.81 kB / 0.6217 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.007402, allocations: 0 / 0.6217 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.007432, allocations: 30.56 kB / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.007433, allocations: 0 / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007124/0.008145, allocations: 189.4 kB / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.008198, allocations: 51.41 kB / 0.6219 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.008309, allocations: 117.8 kB / 0.6221 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.00833, allocations: 25.7 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.008407, allocations: 100.1 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.008436, allocations: 23.8 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.00849, allocations: 21.7 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.008641, allocations: 322.8 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.008834, allocations: 51.95 kB / 0.6226 GB, free: 304 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.009021, allocations: 43.95 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.009385, allocations: 92.77 kB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009387, allocations: 4 kB / 0.6227 GB, free: 160 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004389/0.009826, allocations: 141.5 kB / 0.6229 GB, free: 12 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.00984, allocations: 4 kB / 0.6229 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.009844, allocations: 4 kB / 0.6229 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.009859, allocations: 3.938 kB / 0.6229 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.01005, allocations: 23.97 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01005, allocations: 0 / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01017, allocations: 19.98 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.01018, allocations: 3.984 kB / 0.6229 GB, free: 15.95 MB / 0.545 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 0.0001057/0.01029, allocations: 119.6 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.01033, allocations: 7.953 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.01036, allocations: 8.438 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.01036, allocations: 4 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01037, allocations: 4 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01037, allocations: 0 / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.01055, allocations: 137.2 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01055, allocations: 0 / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.01071, allocations: 31.91 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01071, allocations: 0 / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01072, allocations: 3.984 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01073, allocations: 4 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01073, allocations: 0 / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.01125, allocations: 235.3 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.01126, allocations: 11.89 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01128, allocations: 4 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.01143, allocations: 15.97 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.559e-05/0.01152, allocations: 19.97 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01153, allocations: 4 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.01159, allocations: 98.77 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01159, allocations: 3.938 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002347/0.01182, allocations: 15.94 kB / 0.6236 GB, free: 15.18 MB / 0.545 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.0001207/0.01194, allocations: 95.23 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.01239, allocations: 108.5 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01239, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.01261, allocations: 59.88 kB / 0.6239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.01294, allocations: 11.94 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.01348, allocations: 177.8 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.961e-05/0.01356, allocations: 75.27 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.559e-05/0.01362, allocations: 12 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.01369, allocations: 24.48 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.01369, allocations: 0 / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Templates: time 0.004736/0.01843, allocations: 1.694 MB / 0.6258 GB, free: 12.92 MB / 0.545 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.7261707074940205] Failed to read output from testmodel.py, exit status != 0: 0.026976190507411957 0.040976647000000005 0.033656097 Calling exit ...