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.001378/0.001378, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001539/0.001539, allocations: 177 kB / 23.36 MB, free: 1.133 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.096/1.096, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.9064/0.9064, allocations: 154.9 MB / 415.1 MB, free: 260 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 2.114e-06/2.114e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.774e-05, allocations: 4.969 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001744/0.001772, allocations: 0.8456 MB / 481.3 MB, free: 5.672 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.002866, allocations: 0.9442 MB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.289e-05/0.002959, allocations: 3.938 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.002999, allocations: 9.656 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.003088, allocations: 14.28 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.003286, allocations: 59.91 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.003477, allocations: 143.5 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.00362, allocations: 51.84 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.003739, allocations: 74.23 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.003799, allocations: 48.42 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.00383, allocations: 12 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.003847, allocations: 13.31 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.003875, allocations: 31.89 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.003909, allocations: 39.91 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.004042, allocations: 96.16 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004045, allocations: 0.5625 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004046, allocations: 0 / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.00405, allocations: 1.25 kB / 482.8 MB, free: 4.152 MB / 442.7 MB 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.000421/0.004471, allocations: 344.1 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.004506, allocations: 10.94 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.004552, allocations: 20.92 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.004726, allocations: 149.5 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.004741, allocations: 8.375 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.004759, allocations: 12.38 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.00496, allocations: 203.9 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.00497, allocations: 2.328 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.004982, allocations: 4.375 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.00499, allocations: 5.188 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.643e-05/0.005047, allocations: 47.86 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.005458, allocations: 289.7 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.954e-05/0.005538, allocations: 46.5 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.00557, allocations: 25.47 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.005589, allocations: 4.891 kB / 484 MB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.005613, allocations: 31.19 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.005615, allocations: 0.5938 kB / 484 MB, free: 2.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001528/0.005768, allocations: 77.73 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.005798, allocations: 60.16 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.005885, allocations: 146.6 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.005898, allocations: 27.48 kB / 484.3 MB, free: 2.531 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.00595, allocations: 119.9 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.005969, allocations: 35.69 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.006006, allocations: 29.69 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.00609, allocations: 322.8 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.006111, allocations: 12.72 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.006131, allocations: 9 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.401e-05/0.006185, allocations: 43.89 kB / 484.9 MB, free: 1.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006187, allocations: 0 / 484.9 MB, free: 1.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.589e-05/0.006273, allocations: 70.42 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.006286, allocations: 4 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006291, allocations: 1.188 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.006305, allocations: 0 / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.539e-05/0.0064, allocations: 27.92 kB / 485 MB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.006404, allocations: 4.562 kB / 485 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.912e-05/0.006443, allocations: 15.89 kB / 485 MB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.00645, allocations: 5.047 kB / 485 MB, free: 1.824 MB / 442.7 MB 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 7.351e-05/0.006523, allocations: 113.8 kB / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.006544, allocations: 8.688 kB / 485.1 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.006663, allocations: 79.91 kB / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006665, allocations: 0 / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.006668, allocations: 5.094 kB / 485.2 MB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.006672, allocations: 3.984 kB / 485.2 MB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.006909, allocations: 263.2 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.006911, allocations: 0 / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.325e-05/0.006964, allocations: 23.94 kB / 485.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.006968, allocations: 7.938 kB / 485.5 MB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.006976, allocations: 8.578 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.006977, allocations: 0 / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.006979, allocations: 4.969 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.007098, allocations: 178 kB / 485.7 MB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.007111, allocations: 17.06 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007123, allocations: 3.938 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.007177, allocations: 13.02 kB / 485.7 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.007209, allocations: 7.984 kB / 485.7 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.007216, allocations: 8.656 kB / 485.7 MB, free: 1.027 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.697e-05/0.007243, allocations: 31.02 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007243, allocations: 0.9688 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.007389, allocations: 27.95 kB / 485.8 MB, free: 0.9688 MB / 442.7 MB 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 0.0001167/0.007506, allocations: 84.92 kB / 485.8 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.007606, allocations: 53.39 kB / 485.9 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.00761, allocations: 0.625 kB / 485.9 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.007641, allocations: 29.41 kB / 485.9 MB, free: 0.793 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.007811, allocations: 20.48 kB / 486 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.008172, allocations: 242.9 kB / 486.2 MB, free: 0.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.008217, allocations: 63.34 kB / 486.2 MB, free: 428 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.629e-05/0.008253, allocations: 16.05 kB / 486.3 MB, free: 412 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.008323, allocations: 67.36 kB / 486.3 MB, free: 344 kB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008323, allocations: 0 / 486.3 MB, free: 344 kB / 442.7 MB Notification: Performance of Templates: time 0.002855/0.01118, allocations: 0.9985 MB / 487.3 MB, free: 15.41 MB / 458.7 MB " [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.8959340075962245]