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.001417/0.001417, allocations: 92.22 kB / 19.65 MB, free: 276 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.0017/0.0017, allocations: 169 kB / 23.02 MB, free: 1.551 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.011/1.011, allocations: 177.1 MB / 203.4 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.8714/0.8714, allocations: 154.8 MB / 414.7 MB, free: 500 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.216e-06/3.216e-06, allocations: 0 / 0.5206 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.602e-05/3.923e-05, allocations: 4.281 kB / 0.5206 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002261/0.0023, allocations: 0.6954 MB / 0.5213 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.00353, allocations: 0.8562 MB / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.003577, allocations: 0 / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.003617, allocations: 4.906 kB / 0.5221 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.0037, allocations: 4 kB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.226e-05/0.003782, allocations: 12.7 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.003874, allocations: 47.84 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003986, allocations: 4.969 kB / 0.5222 GB, free: 256 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.004083, allocations: 27.86 kB / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.004134, allocations: 17.72 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.004155, allocations: 4 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.004164, allocations: 4 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.004185, allocations: 11.92 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.004215, allocations: 11.98 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.004315, allocations: 32.41 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004317, allocations: 0.5 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004318, allocations: 4 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004323, allocations: 1.031 kB / 0.5223 GB, free: 144 kB / 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.0004592/0.004782, allocations: 372.6 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.004827, allocations: 9.25 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.004871, allocations: 8.891 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.004988, allocations: 120.5 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.005003, allocations: 1 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.005028, allocations: 384 / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.007259, allocations: 72.5 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.007271, allocations: 192 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.007283, allocations: 384 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.007292, allocations: 1.375 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.007342, allocations: 11.92 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.007746, allocations: 263.8 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.007838, allocations: 31.97 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.007886, allocations: 24.89 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.007897, allocations: 0 / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.007924, allocations: 33.39 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.007927, allocations: 0.8125 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002129/0.008139, allocations: 49.62 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.008174, allocations: 55.41 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.008278, allocations: 166.5 kB / 0.5235 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.008291, allocations: 26.55 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.008354, allocations: 134.8 kB / 0.5236 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.008378, allocations: 12.58 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.008422, allocations: 23.36 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.008571, allocations: 492.6 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.008595, allocations: 8.781 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.008612, allocations: 4 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/0.008665, allocations: 26.97 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008667, allocations: 0 / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.588e-05/0.008763, allocations: 41.66 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.008781, allocations: 11.94 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008786, allocations: 0 / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.008805, allocations: 3.938 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.00892, allocations: 11.98 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.008926, allocations: 3.938 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.008967, allocations: 12.98 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.008975, allocations: 0 / 0.5243 GB, free: 13.95 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 8.592e-05/0.009061, allocations: 161.1 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.009087, allocations: 0.5625 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.009121, allocations: 11.94 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009122, allocations: 0.9375 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.009126, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.009129, allocations: 1.562 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.009272, allocations: 124.6 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009274, allocations: 0 / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.009337, allocations: 11.98 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.00934, allocations: 0.9688 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.009348, allocations: 0 / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.009352, allocations: 3.938 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.009354, allocations: 1.594 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.009516, allocations: 195.8 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.009528, allocations: 7.938 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.00954, allocations: 0 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.009619, allocations: 13.27 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.009668, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.009674, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.009729, allocations: 127.5 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.009729, allocations: 2.75 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002434/0.009973, allocations: 8 kB / 0.5249 GB, free: 13.23 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.0001231/0.0101, allocations: 91.25 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.01021, allocations: 23.67 kB / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.01021, allocations: 0 / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.01025, allocations: 17.94 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.01055, allocations: 16.22 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.01092, allocations: 126.2 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.01097, allocations: 60.09 kB / 0.5252 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.011, allocations: 0.9062 kB / 0.5252 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.01104, allocations: 16.44 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of SimCode: time 1.243e-06/0.01104, allocations: 0.6562 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.003196/0.01424, allocations: 0.7396 MB / 0.526 GB, free: 12.11 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: 4.122077212203294]