Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.002251/0.002251, allocations: 85.48 kB / 19.44 MB, free: 340 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.002693/0.002693, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.653/1.653, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.329/1.329, allocations: 154.8 MB / 414.4 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.195e-05, allocations: 12.64 kB / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002248/0.00228, allocations: 0.6849 MB / 0.5206 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003535, allocations: 0.8318 MB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.00357, allocations: 1.531 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.003598, allocations: 7.875 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.00367, allocations: 0 / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.586e-05/0.003736, allocations: 17.02 kB / 0.5214 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.003833, allocations: 43.84 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.003937, allocations: 8 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.004036, allocations: 28.59 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.004087, allocations: 17.25 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.004107, allocations: 4 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.004117, allocations: 4 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.004141, allocations: 11.92 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.004167, allocations: 8.625 kB / 0.5216 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.004285, allocations: 47.8 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004289, allocations: 0.9688 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.00429, allocations: 0 / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004295, allocations: 4.469 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006322/0.004927, allocations: 381 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.004975, allocations: 8.031 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.005028, allocations: 10.95 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005184, allocations: 112.6 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.005197, allocations: 384 / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.005211, allocations: 4.375 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.005422, allocations: 54.23 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.005432, allocations: 1.281 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.005444, allocations: 384 / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.005448, allocations: 4.375 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.005687, allocations: 49.31 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.006256, allocations: 267.8 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.006429, allocations: 51.84 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.00654, allocations: 36.69 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.006558, allocations: 0 / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.006601, allocations: 45.83 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.006601, allocations: 1.031 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004111/0.007013, allocations: 94.45 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.007072, allocations: 55.41 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.007236, allocations: 170.5 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.007256, allocations: 25.7 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.007359, allocations: 143.5 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.007381, allocations: 7.953 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.007422, allocations: 20.62 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002898/0.007712, allocations: 0.4923 MB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.191e-05/0.007804, allocations: 21.8 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.007884, allocations: 15.98 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.008049, allocations: 51.59 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00805, allocations: 1.75 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000221/0.008271, allocations: 73.67 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.008292, allocations: 11.92 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.008296, allocations: 0.75 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.008312, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.008415, allocations: 9.031 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.00842, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.008473, allocations: 16.91 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.008484, allocations: 4 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001269/0.00861, allocations: 160.5 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.008636, allocations: 7.25 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.00867, allocations: 11.94 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008672, allocations: 0 / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.008678, allocations: 4 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008681, allocations: 0 / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.008852, allocations: 124.6 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008853, allocations: 0 / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.008919, allocations: 11.98 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.00892, allocations: 3.031 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.00893, allocations: 4 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.008933, allocations: 3.938 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008934, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.009276, allocations: 223.9 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.009288, allocations: 4.375 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.009302, allocations: 0 / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.009379, allocations: 17.36 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.009423, allocations: 4 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.009429, allocations: 4 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.009511, allocations: 131.5 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009511, allocations: 1.406 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002004/0.009711, allocations: 8 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000152/0.009863, allocations: 92.53 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.01013, allocations: 59.62 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01013, allocations: 0.6562 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01024, allocations: 36.23 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01051, allocations: 8.734 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.01086, allocations: 140.8 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.937e-05/0.01094, allocations: 63.34 kB / 0.5248 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.484e-05/0.01098, allocations: 7.859 kB / 0.5248 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.01102, allocations: 10.94 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01102, allocations: 3.938 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.003604/0.01463, allocations: 0.7402 MB / 0.5256 GB, free: 12.18 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.01400992507115]