Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.0006415/0.0006415, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007749/0.0007749, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8585/0.8585, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6888/0.6888, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.6193 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/3.043e-05, allocations: 6.281 kB / 0.6193 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002145/0.002175, allocations: 0.7411 MB / 0.6201 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.00342, allocations: 0.8859 MB / 0.6209 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.003478, allocations: 0 / 0.6209 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.003518, allocations: 7.875 kB / 0.6209 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.003612, allocations: 15.84 kB / 0.6209 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.003808, allocations: 35.91 kB / 0.621 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.003941, allocations: 87.81 kB / 0.6211 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004062, allocations: 19.98 kB / 0.6211 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.004175, allocations: 51.88 kB / 0.6211 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.623e-05/0.004261, allocations: 35.89 kB / 0.6212 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.004296, allocations: 12 kB / 0.6212 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.004312, allocations: 8 kB / 0.6212 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.004344, allocations: 31.84 kB / 0.6212 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.004388, allocations: 23.91 kB / 0.6212 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.00455, allocations: 95.66 kB / 0.6213 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.004554, allocations: 3.984 kB / 0.6213 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004555, allocations: 0 / 0.6213 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.00456, allocations: 0 / 0.6213 GB, free: 10.02 MB / 0.5417 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.000567/0.005127, allocations: 322 kB / 0.6216 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.005171, allocations: 20.02 kB / 0.6217 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.005211, allocations: 4.891 kB / 0.6217 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.005337, allocations: 117.7 kB / 0.6218 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.005361, allocations: 8.375 kB / 0.6218 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.005381, allocations: 8.359 kB / 0.6218 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.005672, allocations: 102.1 kB / 0.6219 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.005683, allocations: 3.938 kB / 0.6219 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.005699, allocations: 4 kB / 0.6219 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005704, allocations: 0 / 0.6219 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.006017, allocations: 103.9 kB / 0.622 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.006482, allocations: 276.3 kB / 0.6223 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.006823, allocations: 110.6 kB / 0.6224 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.006928, allocations: 60.81 kB / 0.6224 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.006945, allocations: 0 / 0.6224 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.006965, allocations: 30.56 kB / 0.6225 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006966, allocations: 0 / 0.6225 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0003768/0.007343, allocations: 189.4 kB / 0.6226 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.007374, allocations: 55.41 kB / 0.6227 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.007451, allocations: 125.8 kB / 0.6228 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.007465, allocations: 29.7 kB / 0.6228 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.007509, allocations: 92.08 kB / 0.6229 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.007533, allocations: 23.8 kB / 0.6229 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.007569, allocations: 25.7 kB / 0.623 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.007648, allocations: 322.8 kB / 0.6233 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.007741, allocations: 43.95 kB / 0.6233 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.007829, allocations: 47.95 kB / 0.6234 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.008005, allocations: 96.78 kB / 0.6235 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008006, allocations: 0 / 0.6235 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002176/0.008224, allocations: 142 kB / 0.6236 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.008239, allocations: 8 kB / 0.6236 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.008246, allocations: 0 / 0.6236 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.008257, allocations: 0 / 0.6236 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.008343, allocations: 23.97 kB / 0.6236 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.008347, allocations: 80 / 0.6236 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.008396, allocations: 11.98 kB / 0.6236 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.008404, allocations: 11.91 kB / 0.6236 GB, free: 7.473 MB / 0.5417 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,sub.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.648e-05/0.008471, allocations: 122.8 kB / 0.6238 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.008488, allocations: 7.953 kB / 0.6238 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.008509, allocations: 12.44 kB / 0.6238 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.008511, allocations: 0 / 0.6238 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.008515, allocations: 4 kB / 0.6238 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.008518, allocations: 0 / 0.6238 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.008629, allocations: 141.2 kB / 0.6239 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00863, allocations: 0 / 0.6239 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.008696, allocations: 27.97 kB / 0.6239 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.008698, allocations: 0 / 0.6239 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.008708, allocations: 11.98 kB / 0.624 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.00871, allocations: 0 / 0.624 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008711, allocations: 0 / 0.624 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.008955, allocations: 235.3 kB / 0.6242 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.008966, allocations: 7.953 kB / 0.6242 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.008978, allocations: 0 / 0.6242 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.009039, allocations: 15.98 kB / 0.6242 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.009095, allocations: 23.97 kB / 0.6242 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.0091, allocations: 4 kB / 0.6242 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.009143, allocations: 98.92 kB / 0.6243 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.009143, allocations: 0 / 0.6243 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001601/0.009303, allocations: 15.94 kB / 0.6243 GB, free: 6.703 MB / 0.5417 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 (sub.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.601e-05/0.009389, allocations: 103.2 kB / 0.6244 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.009619, allocations: 103.9 kB / 0.6245 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009621, allocations: 0 / 0.6245 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.00972, allocations: 59.89 kB / 0.6246 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.009933, allocations: 11.92 kB / 0.6246 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.01026, allocations: 191.2 kB / 0.6248 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.01031, allocations: 85.38 kB / 0.6249 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.01036, allocations: 24.48 kB / 0.6249 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.01036, allocations: 0 / 0.6249 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.001882/0.01225, allocations: 1.258 MB / 0.6261 GB, free: 4.82 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.810643799602985] Failed to read output from testmodel.py, exit status != 0: 0.01865344773977995 0.024857741000000003 0.018725544 Calling exit ...