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.001288/0.001288, allocations: 78.72 kB / 19.18 MB, free: 2.516 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.001441/0.001441, allocations: 166.3 kB / 22.45 MB, free: 5.363 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.395/1.395, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.167/1.167, allocations: 154.7 MB / 413.9 MB, free: 5.137 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.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 2.945e-06/2.945e-06, allocations: 0 / 0.6187 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.131e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001867/0.001899, allocations: 0.7367 MB / 0.6195 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003089, allocations: 0.8833 MB / 0.6203 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.003138, allocations: 4 kB / 0.6203 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.003176, allocations: 7.875 kB / 0.6203 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.003264, allocations: 13.44 kB / 0.6204 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.003439, allocations: 43.88 kB / 0.6204 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.00356, allocations: 87.77 kB / 0.6205 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.003681, allocations: 19.97 kB / 0.6205 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.003792, allocations: 56.48 kB / 0.6206 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.00388, allocations: 43.88 kB / 0.6206 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.003904, allocations: 8 kB / 0.6206 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.00392, allocations: 11.94 kB / 0.6206 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.003948, allocations: 19.97 kB / 0.6206 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.003986, allocations: 19.92 kB / 0.6207 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004138, allocations: 99.64 kB / 0.6208 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004139, allocations: 0 / 0.6208 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00414, allocations: 0 / 0.6208 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004145, allocations: 0 / 0.6208 GB, free: 2.48 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.0006258/0.00477, allocations: 322 kB / 0.6211 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.004803, allocations: 8.031 kB / 0.6211 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.004842, allocations: 8.891 kB / 0.6211 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.004976, allocations: 125.6 kB / 0.6212 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.004995, allocations: 8.375 kB / 0.6212 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.005007, allocations: 384 / 0.6212 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.005312, allocations: 109 kB / 0.6213 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.005322, allocations: 3.938 kB / 0.6213 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.005338, allocations: 8 kB / 0.6213 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005342, allocations: 4 kB / 0.6213 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.005736, allocations: 95.89 kB / 0.6214 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.006253, allocations: 272.3 kB / 0.6217 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.006906, allocations: 122.5 kB / 0.6218 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.007104, allocations: 56.81 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.007126, allocations: 0 / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.007155, allocations: 34.56 kB / 0.6219 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.007155, allocations: 0 / 0.6219 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006874/0.007843, allocations: 185.5 kB / 0.6221 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.007897, allocations: 55.39 kB / 0.6221 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.008014, allocations: 121.1 kB / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.008035, allocations: 25.7 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.008094, allocations: 96.08 kB / 0.6223 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.008124, allocations: 23.8 kB / 0.6224 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.008185, allocations: 29.69 kB / 0.6224 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.008329, allocations: 318.8 kB / 0.6227 GB, free: 340 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.008519, allocations: 47.94 kB / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.008694, allocations: 47.95 kB / 0.6228 GB, free: 244 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.009045, allocations: 96.78 kB / 0.6229 GB, free: 144 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009047, allocations: 0 / 0.6229 GB, free: 144 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004413/0.009488, allocations: 141.5 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.009505, allocations: 11.94 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.00951, allocations: 0 / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009523, allocations: 0 / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.009705, allocations: 27.91 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00971, allocations: 0 / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.009826, allocations: 15.92 kB / 0.6231 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.009835, allocations: 0 / 0.6231 GB, free: 15.94 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,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 0.0001018/0.009937, allocations: 127.6 kB / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.009971, allocations: 11.95 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.009999, allocations: 12.44 kB / 0.6232 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01, allocations: 0 / 0.6232 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01, allocations: 0 / 0.6232 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.01001, allocations: 0 / 0.6232 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.01018, allocations: 137.2 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01019, allocations: 0 / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.01036, allocations: 27.91 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01036, allocations: 0 / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01037, allocations: 8 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01037, allocations: 3.984 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01037, allocations: 0 / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.01084, allocations: 227.9 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.01085, allocations: 11.94 kB / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.01087, allocations: 4 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01103, allocations: 11.98 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.01109, allocations: 23.97 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01111, allocations: 8 kB / 0.6237 GB, free: 15.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.716e-05/0.01117, allocations: 91.27 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01117, allocations: 0 / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002331/0.01141, allocations: 19.94 kB / 0.6238 GB, free: 15.17 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 (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 0.000106/0.01151, allocations: 103.2 kB / 0.6239 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004241/0.01194, allocations: 99.91 kB / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01194, allocations: 0 / 0.624 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.01215, allocations: 64.11 kB / 0.624 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01244, allocations: 16.03 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.01287, allocations: 177.5 kB / 0.6242 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.01294, allocations: 75.33 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.583e-05/0.013, allocations: 11.98 kB / 0.6243 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.01306, allocations: 28.48 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.01306, allocations: 0 / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Templates: time 0.004524/0.01759, allocations: 1.701 MB / 0.626 GB, free: 12.89 MB / 0.545 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: 5.682325446978211] Failed to read output from testmodel.py, exit status != 0: 0.02580915577709675 0.03979638399999994 0.03269098599999994 Calling exit ...