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.001099/0.001099, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001216/0.001216, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9769/0.9769, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7571/0.7571, allocations: 154.9 MB / 415.1 MB, free: 268 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 3.957e-06/3.957e-06, allocations: 0 / 0.5212 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.708e-05/5.104e-05, allocations: 9.016 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002574/0.002625, allocations: 0.6866 MB / 0.5219 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003819, allocations: 0.8533 MB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.003868, allocations: 0 / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.003904, allocations: 3.938 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.00399, allocations: 11.92 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 7.449e-05/0.004065, allocations: 13.73 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.004154, allocations: 39.86 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.004265, allocations: 15.97 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.004375, allocations: 23.92 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.004427, allocations: 12.73 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.004446, allocations: 4 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.004455, allocations: 9.344 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.004475, allocations: 7.984 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.004501, allocations: 11.94 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.38e-05/0.004595, allocations: 31.89 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.004599, allocations: 5.25 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.0046, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.004604, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB 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.0004032/0.005008, allocations: 378.6 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.005052, allocations: 8.031 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.005085, allocations: 12.83 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.005181, allocations: 116.5 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.005193, allocations: 384 / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.005201, allocations: 2.344 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.005363, allocations: 66.94 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005371, allocations: 192 / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.005379, allocations: 4.312 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.005385, allocations: 384 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.005416, allocations: 8.5 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.005717, allocations: 245.4 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.026e-05/0.005788, allocations: 35.05 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.005816, allocations: 16.59 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.005827, allocations: 3.938 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.005852, allocations: 34.42 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.005854, allocations: 4 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001528/0.006007, allocations: 41.72 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.006039, allocations: 56.44 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.006131, allocations: 169.9 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.006143, allocations: 27.23 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/0.006197, allocations: 134.8 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.00622, allocations: 11.94 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.006255, allocations: 19.38 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.006396, allocations: 497.2 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.006415, allocations: 0 / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.006433, allocations: 15.92 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.00647, allocations: 12.38 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006472, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.942e-05/0.006561, allocations: 51.2 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.006577, allocations: 6.344 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006582, allocations: 0 / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.006599, allocations: 3.938 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.006693, allocations: 8.922 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.006696, allocations: 0 / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.006736, allocations: 12.69 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.006743, allocations: 11.06 kB / 0.5248 GB, free: 13.57 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 7.771e-05/0.006821, allocations: 156.6 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.006846, allocations: 7.938 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.006874, allocations: 8 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.006877, allocations: 3.938 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006878, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006881, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.007009, allocations: 101.2 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007011, allocations: 3.031 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.007072, allocations: 15.98 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.007075, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.007081, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.007084, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.007085, allocations: 0 / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.007239, allocations: 195.8 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.00725, allocations: 7.938 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.007261, allocations: 1.5 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.007337, allocations: 11.98 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.007372, allocations: 3.938 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.007377, allocations: 4 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.007426, allocations: 132 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.007426, allocations: 0.5 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002303/0.007656, allocations: 8 kB / 0.5254 GB, free: 12.87 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.0001207/0.007777, allocations: 98.19 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.007865, allocations: 19.67 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.007867, allocations: 0 / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.007898, allocations: 15.62 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.008185, allocations: 10.42 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.008494, allocations: 134.2 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.008535, allocations: 55.34 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.008565, allocations: 5.438 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.008631, allocations: 70.2 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.008632, allocations: 0 / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.003292/0.01192, allocations: 0.8061 MB / 0.5266 GB, free: 11.64 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.5193243911489844]