Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0009103/0.0009103, 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.001018/0.001018, allocations: 169 kB / 23.02 MB, free: 1.547 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.9732/0.9732, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7713/0.7713, allocations: 154.8 MB / 414.7 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5206 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.594e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001256/0.001272, allocations: 0.8592 MB / 0.5215 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.002176, allocations: 0.9335 MB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.002244, allocations: 10.97 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.002276, allocations: 11.81 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.002345, allocations: 11.86 kB / 0.5224 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.002533, allocations: 63.89 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.002692, allocations: 135.7 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.002828, allocations: 41.64 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.758e-05/0.002915, allocations: 79.8 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.002966, allocations: 40.44 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.002991, allocations: 15.94 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.003007, allocations: 16.56 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.003032, allocations: 32.66 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.003068, allocations: 39.83 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.003183, allocations: 96.22 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003185, allocations: 0 / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003185, allocations: 1.469 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003189, allocations: 0 / 0.5229 GB, free: 15.49 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004297/0.003619, allocations: 473 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.003655, allocations: 8.031 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.003704, allocations: 30.25 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.003873, allocations: 161.5 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.003883, allocations: 8.375 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.003902, allocations: 12.38 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.004133, allocations: 204.8 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.004142, allocations: 192 / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.004157, allocations: 9.656 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.004166, allocations: 8.359 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.004259, allocations: 63.89 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.004727, allocations: 424.7 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.671e-05/0.004823, allocations: 62.98 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.004861, allocations: 28.45 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.004884, allocations: 5.844 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.004904, allocations: 33.39 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.004905, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001878/0.005093, allocations: 105.9 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.005117, allocations: 55.41 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.005212, allocations: 194 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.005226, allocations: 29.7 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.005291, allocations: 174.5 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.005311, allocations: 27.75 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.005349, allocations: 39.31 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.00546, allocations: 0.4923 MB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.005491, allocations: 9.469 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.005521, allocations: 19.98 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.005594, allocations: 58.61 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005596, allocations: 3.938 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001057/0.005702, allocations: 90.86 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.005713, allocations: 4 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005718, allocations: 3.938 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.005731, allocations: 4.656 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.005822, allocations: 24.42 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.005828, allocations: 4 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.00586, allocations: 8.906 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.005869, allocations: 8 kB / 0.5257 GB, free: 12.44 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 (13): * Single equations (assignments): 13 * 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 6.489e-05/0.005934, allocations: 157.8 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.005956, allocations: 19.89 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.006087, allocations: 94.33 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.00609, allocations: 4.5 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006093, allocations: 1.719 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.006097, allocations: 3.984 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.006366, allocations: 396.3 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006367, allocations: 2.438 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.006414, allocations: 19.98 kB / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006416, allocations: 0 / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.006425, allocations: 8 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006426, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006427, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.00656, allocations: 265.3 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.006973, allocations: 11.89 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.006985, allocations: 4 kB / 0.5267 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.007039, allocations: 11.98 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.007078, allocations: 11.92 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.007085, allocations: 4 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.007137, allocations: 150.5 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007138, allocations: 0 / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001564/0.007294, allocations: 23.95 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.674e-05/0.007361, allocations: 96.22 kB / 0.527 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.00748, allocations: 66.5 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007482, allocations: 0 / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.00752, allocations: 39.59 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.007714, allocations: 11.94 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.008066, allocations: 272.5 kB / 0.5273 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.008106, allocations: 63.34 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.008132, allocations: 12.48 kB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.008167, allocations: 12.5 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.008168, allocations: 0 / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.002528/0.0107, allocations: 0.9924 MB / 0.5284 GB, free: 9.613 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8438414339907467]