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.001367/0.001367, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009958/0.0009958, allocations: 173 kB / 23.49 MB, free: 1.055 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.9885/0.9885, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.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-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 0.7887/0.7887, allocations: 154.8 MB / 415.1 MB, free: 476 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 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.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.064e-06/2.064e-06, allocations: 0 / 0.5206 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.048e-05, allocations: 6.844 kB / 0.5206 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001208/0.001228, allocations: 0.6907 MB / 0.5213 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008656/0.002094, allocations: 0.8515 MB / 0.5222 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.002131, allocations: 1.406 kB / 0.5222 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.002158, allocations: 3.938 kB / 0.5222 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.00223, allocations: 11.92 kB / 0.5222 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6e-05/0.00229, allocations: 13.23 kB / 0.5222 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.002365, allocations: 47.84 kB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.002456, allocations: 4 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.964e-05/0.002535, allocations: 29.94 kB / 0.5223 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.002571, allocations: 11.98 kB / 0.5223 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.002593, allocations: 4 kB / 0.5223 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-06/0.002599, allocations: 4 kB / 0.5223 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.002616, allocations: 7.938 kB / 0.5223 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.00264, allocations: 17.94 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.452e-05/0.002714, allocations: 31.84 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.002718, allocations: 4 kB / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002719, allocations: 0 / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.002723, allocations: 0 / 0.5223 GB, free: 0.5117 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.0003533/0.003076, allocations: 373.1 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.003111, allocations: 9.031 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.003145, allocations: 8.891 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.003247, allocations: 120.5 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.003259, allocations: 5.156 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.003268, allocations: 384 / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.003397, allocations: 71.95 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.003404, allocations: 192 / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003413, allocations: 1.406 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.00342, allocations: 384 / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.003451, allocations: 7.938 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.003716, allocations: 261.4 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.532e-05/0.003801, allocations: 38.98 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.003832, allocations: 15.69 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.003839, allocations: 1.031 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.003858, allocations: 33.39 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.003859, allocations: 0 / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001415/0.004, allocations: 54.34 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.004029, allocations: 55.41 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.00427, allocations: 167.2 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.004279, allocations: 25.7 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.004325, allocations: 138.8 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.004341, allocations: 8.828 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.004368, allocations: 27.36 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.004466, allocations: 492.8 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.004482, allocations: 4 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.004495, allocations: 4.781 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.004528, allocations: 23.94 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00453, allocations: 0.8438 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.521e-05/0.004585, allocations: 45.59 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.004599, allocations: 15.88 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004603, allocations: 2.312 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.004616, allocations: 3.984 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.004693, allocations: 12 kB / 0.5243 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.004699, allocations: 0 / 0.5243 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.004723, allocations: 7.984 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.004728, allocations: 0.9375 kB / 0.5243 GB, free: 14.32 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 5.829e-05/0.004786, allocations: 160.6 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.004799, allocations: 1.5 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.004821, allocations: 11.94 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.004823, allocations: 0 / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.004826, allocations: 0 / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004829, allocations: 0.5625 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.00492, allocations: 124.6 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004921, allocations: 0.9062 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.004948, allocations: 11.98 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004949, allocations: 0.625 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.004955, allocations: 0.5938 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.004958, allocations: 4.25 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004958, allocations: 0.625 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.442e-05/0.005053, allocations: 196.3 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.00506, allocations: 7.938 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.005069, allocations: 2.938 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.005107, allocations: 11.92 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.005142, allocations: 7.984 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005145, allocations: 4 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.36e-05/0.005178, allocations: 127.2 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005179, allocations: 0 / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001374/0.005316, allocations: 8 kB / 0.5249 GB, free: 13.59 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 6.684e-05/0.005383, allocations: 93.69 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.005467, allocations: 27.61 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.005468, allocations: 0 / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.005491, allocations: 11.69 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.005685, allocations: 17.42 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.005944, allocations: 127.2 kB / 0.5252 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.00598, allocations: 63.28 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.848e-05/0.005999, allocations: 1.156 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.006029, allocations: 12.5 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.00603, allocations: 0 / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.00219/0.00822, allocations: 0.7339 MB / 0.526 GB, free: 12.48 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: 3.7836549358908087]