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.001431/0.001431, allocations: 84.73 kB / 19.44 MB, free: 360 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.001655/0.001655, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.275/1.275, allocations: 154.8 MB / 414.4 MB, free: 480 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 1.944e-06/1.944e-06, allocations: 0.875 kB / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.858e-05, allocations: 3.578 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001781/0.00181, allocations: 0.6936 MB / 0.5206 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002936, allocations: 0.817 MB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.00297, allocations: 0 / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.003002, allocations: 7.922 kB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.1e-05/0.003073, allocations: 8.781 kB / 0.5214 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.724e-05/0.003141, allocations: 19.97 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.003227, allocations: 40.83 kB / 0.5215 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.003315, allocations: 11.98 kB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.003394, allocations: 20.61 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.003434, allocations: 11.98 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.003457, allocations: 5.312 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.003466, allocations: 4 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.003493, allocations: 11.92 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.003522, allocations: 8.625 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003624, allocations: 51.78 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003627, allocations: 1.531 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003627, allocations: 0 / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.003631, allocations: 4 kB / 0.5216 GB, free: 0.5508 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.0005376/0.004168, allocations: 282.9 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.004206, allocations: 9.438 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.004253, allocations: 12.88 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.004375, allocations: 109.7 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.004388, allocations: 384 / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.004398, allocations: 1.125 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.004669, allocations: 71.22 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004677, allocations: 192 / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004686, allocations: 1.438 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.004691, allocations: 384 / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.005016, allocations: 70.36 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.005391, allocations: 208.5 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.005603, allocations: 60.12 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.005772, allocations: 40.91 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.005786, allocations: 1.031 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.005825, allocations: 38.56 kB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005826, allocations: 0 / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005867/0.006413, allocations: 132.2 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.006459, allocations: 51.41 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.006564, allocations: 107.4 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.006586, allocations: 29.7 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.006657, allocations: 96.02 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.006678, allocations: 11.88 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.006719, allocations: 18.91 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.006902, allocations: 314.8 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.007056, allocations: 32.64 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.007196, allocations: 29.25 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.007486, allocations: 70.09 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007487, allocations: 0 / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003386/0.007826, allocations: 101.4 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.007843, allocations: 7.938 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.00785, allocations: 4 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.007868, allocations: 0 / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.007997, allocations: 15.97 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.008, allocations: 2.906 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.008087, allocations: 19.94 kB / 0.5235 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.008096, allocations: 3.984 kB / 0.5235 GB, free: 14.48 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 9.439e-05/0.00819, allocations: 109.8 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.008216, allocations: 4 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.008241, allocations: 11.94 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.008243, allocations: 1.469 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.008246, allocations: 0 / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.008251, allocations: 3.984 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.008409, allocations: 109.3 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.00841, allocations: 0.5 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.008515, allocations: 24.95 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.008517, allocations: 0 / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008524, allocations: 0.5 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.008528, allocations: 3.938 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008528, allocations: 3.281 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.008934, allocations: 199.4 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.008941, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.008954, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.009069, allocations: 18.39 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.009118, allocations: 11.98 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.009122, allocations: 0 / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.00919, allocations: 79.59 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.00919, allocations: 0 / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002241/0.009414, allocations: 15.94 kB / 0.524 GB, free: 13.85 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.0001353/0.00955, allocations: 96.19 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.009896, allocations: 73.94 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009898, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.01005, allocations: 33.56 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01037, allocations: 6.172 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.01097, allocations: 140.4 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.43e-05/0.01104, allocations: 64 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.01107, allocations: 8.453 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.01112, allocations: 12.5 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.01112, allocations: 1.5 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.003224/0.01434, allocations: 0.7416 MB / 0.5252 GB, free: 12.67 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.001043838914484]