Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.002396/0.002396, allocations: 85.48 kB / 19.44 MB, free: 344 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.002872/0.002872, allocations: 173.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.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.262 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.331/1.331, allocations: 154.8 MB / 414.4 MB, free: 376 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5199 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.797e-05/3.982e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001947/0.001986, allocations: 0.6971 MB / 0.5206 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003114, allocations: 0.833 MB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.003147, allocations: 0 / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.003171, allocations: 3.938 kB / 0.5214 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.003259, allocations: 8.844 kB / 0.5214 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.176e-05/0.00332, allocations: 11.98 kB / 0.5214 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.00341, allocations: 48.81 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.003496, allocations: 7.984 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.003585, allocations: 23.98 kB / 0.5215 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.003627, allocations: 16.97 kB / 0.5215 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.003647, allocations: 4 kB / 0.5215 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.003657, allocations: 7.938 kB / 0.5215 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.003672, allocations: 4.969 kB / 0.5215 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.003708, allocations: 11.98 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.00381, allocations: 48.95 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003811, allocations: 0 / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003812, allocations: 0 / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.003817, allocations: 0.5 kB / 0.5216 GB, free: 496 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.0005791/0.004396, allocations: 373.3 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.004435, allocations: 12.03 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.004489, allocations: 12.89 kB / 0.522 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.004642, allocations: 113.8 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.004655, allocations: 4.375 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.004667, allocations: 384 / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.00487, allocations: 60.02 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.004879, allocations: 192 / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.004889, allocations: 384 / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.004895, allocations: 4.375 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.005076, allocations: 45.72 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.005527, allocations: 267.8 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.005692, allocations: 52.64 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.005801, allocations: 31.77 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.005819, allocations: 3.984 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.005855, allocations: 37.39 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005856, allocations: 0.75 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004101/0.006266, allocations: 99.19 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.006312, allocations: 51.41 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.006682, allocations: 175.3 kB / 0.5229 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.006705, allocations: 25.7 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.984e-05/0.006805, allocations: 150.7 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.006823, allocations: 3.953 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.006871, allocations: 24.41 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002825/0.007153, allocations: 496.1 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.007249, allocations: 22.86 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.007332, allocations: 23.97 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.0075, allocations: 51.64 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007502, allocations: 0 / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002224/0.007724, allocations: 78.64 kB / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.00774, allocations: 7.938 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007744, allocations: 0 / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.007758, allocations: 0.9375 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.007857, allocations: 11.98 kB / 0.5237 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.007862, allocations: 3.031 kB / 0.5237 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.007911, allocations: 7.953 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.00792, allocations: 4 kB / 0.5238 GB, free: 14.09 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.0001314/0.008052, allocations: 160.6 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.00808, allocations: 8 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.00811, allocations: 7.938 kB / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008112, allocations: 0 / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.008116, allocations: 0 / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.008119, allocations: 2.75 kB / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.008292, allocations: 124.6 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008294, allocations: 4 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.008362, allocations: 11.92 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.008364, allocations: 4 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008371, allocations: 0 / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.008375, allocations: 3.938 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008376, allocations: 0.5 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.008694, allocations: 225.2 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.008703, allocations: 4 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.008719, allocations: 4.531 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.008795, allocations: 8.594 kB / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.008838, allocations: 3.984 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.008842, allocations: 0.8438 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001032/0.008945, allocations: 135.2 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008945, allocations: 4.438 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002067/0.009152, allocations: 8 kB / 0.5245 GB, free: 13.32 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.0001319/0.009284, allocations: 97.03 kB / 0.5245 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.009527, allocations: 54.09 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009528, allocations: 0 / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.009634, allocations: 31.67 kB / 0.5246 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.009917, allocations: 12.53 kB / 0.5246 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.01027, allocations: 140.9 kB / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.6e-05/0.01034, allocations: 63.34 kB / 0.5248 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.01038, allocations: 7.844 kB / 0.5248 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.01042, allocations: 20.44 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of SimCode: time 5.92e-07/0.01042, allocations: 2.531 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.003624/0.01405, allocations: 0.7291 MB / 0.5256 GB, free: 12.14 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9922470529563725]