Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.0007767/0.0007767, allocations: 100.4 kB / 19.71 MB, free: 444 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.0008065/0.0008065, allocations: 210.9 kB / 23 MB, free: 2.973 MB / 13.93 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.8806/0.8806, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7671/0.7671, allocations: 203.5 MB / 0.5046 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.27 kB / 0.719 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4808, allocations: 102 MB / 0.8186 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004346/0.4851, allocations: 4.276 MB / 0.8228 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.4876, allocations: 1.825 MB / 0.8245 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.4878, allocations: 12.53 kB / 0.8245 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009821/0.4888, allocations: 0.5967 MB / 0.8251 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.4893, allocations: 271.9 kB / 0.8254 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.4899, allocations: 248.2 kB / 0.8256 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007199/0.4906, allocations: 0.6137 MB / 0.8262 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.4911, allocations: 340.2 kB / 0.8266 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.4914, allocations: 264.4 kB / 0.8268 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.4918, allocations: 251.3 kB / 0.827 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.012e-05/0.4918, allocations: 37.41 kB / 0.8271 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.4922, allocations: 235.2 kB / 0.8273 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.4923, allocations: 160.2 kB / 0.8275 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.4925, allocations: 187.7 kB / 0.8276 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006634/0.4932, allocations: 0.6093 MB / 0.8282 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4932, allocations: 1.406 kB / 0.8282 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4932, allocations: 0 / 0.8282 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.4932, allocations: 0 / 0.8282 GB, free: 11.89 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009848/0.4942, allocations: 0.6622 MB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4942, allocations: 13.88 kB / 0.8289 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.4948, allocations: 151.5 kB / 0.829 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.4951, allocations: 278 kB / 0.8293 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.4952, allocations: 27.31 kB / 0.8293 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.4952, allocations: 31.05 kB / 0.8294 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.4959, allocations: 0.6842 MB / 0.83 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4959, allocations: 9.281 kB / 0.83 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.4959, allocations: 15.72 kB / 0.83 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.496, allocations: 29.84 kB / 0.8301 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.4966, allocations: 385.2 kB / 0.8304 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.4984, allocations: 1.675 MB / 0.8321 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.4988, allocations: 244 kB / 0.8323 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.4989, allocations: 101 kB / 0.8324 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.4989, allocations: 2.562 kB / 0.8324 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4989, allocations: 37.72 kB / 0.8324 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.4989, allocations: 0 / 0.8324 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001501/0.5004, allocations: 0.8981 MB / 0.8333 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.5005, allocations: 54.19 kB / 0.8334 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.5007, allocations: 271.6 kB / 0.8336 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5007, allocations: 36.3 kB / 0.8337 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5008, allocations: 240.7 kB / 0.8339 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.5009, allocations: 85.34 kB / 0.834 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.501, allocations: 66.83 kB / 0.834 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.5011, allocations: 337 kB / 0.8344 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.5012, allocations: 104.6 kB / 0.8345 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.5014, allocations: 196.7 kB / 0.8347 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.5017, allocations: 318.7 kB / 0.835 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5017, allocations: 0 / 0.835 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005156/0.5022, allocations: 440.8 kB / 0.8354 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5022, allocations: 6.344 kB / 0.8354 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5022, allocations: 3.312 kB / 0.8354 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.5025, allocations: 95.58 kB / 0.8355 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.5026, allocations: 72.75 kB / 0.8355 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.5048, allocations: 4.004 MB / 0.8395 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.505, allocations: 14.7 kB / 0.8395 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.505, allocations: 9 kB / 0.8395 GB, free: 3.215 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.5052, allocations: 181.5 kB / 0.8397 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.5052, allocations: 29.59 kB / 0.8397 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.5053, allocations: 39.98 kB / 0.8397 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5053, allocations: 2.594 kB / 0.8397 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.5053, allocations: 10.34 kB / 0.8397 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5053, allocations: 5.203 kB / 0.8397 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.5056, allocations: 280.7 kB / 0.84 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5056, allocations: 0 / 0.84 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.5057, allocations: 33.31 kB / 0.84 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.5059, allocations: 92.06 kB / 0.8401 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5059, allocations: 5.062 kB / 0.8401 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.5078, allocations: 4 MB / 0.844 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5078, allocations: 4.938 kB / 0.844 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.5084, allocations: 0.5535 MB / 0.8446 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.5085, allocations: 50.02 kB / 0.8446 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.5085, allocations: 1.781 kB / 0.8446 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.5086, allocations: 12.86 kB / 0.8446 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.5087, allocations: 24 kB / 0.8447 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.5087, allocations: 8.781 kB / 0.8447 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001539/0.5088, allocations: 188.5 kB / 0.8449 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5088, allocations: 0 / 0.8449 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003974/0.5092, allocations: 102.3 kB / 0.845 GB, free: 14.47 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.5093, allocations: 99.72 kB / 0.845 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000655/0.51, allocations: 0.5948 MB / 0.8456 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.51, allocations: 3.938 kB / 0.8456 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.5104, allocations: 458.1 kB / 0.8461 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.5107, allocations: 68.22 kB / 0.8461 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5118, allocations: 0.7664 MB / 0.8469 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.512, allocations: 232.5 kB / 0.8471 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.512, allocations: 24.16 kB / 0.8471 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/0.512, allocations: 0 / 0.8471 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.008423/0.5205, allocations: 8.686 MB / 0.8556 GB, free: 8.559 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.401454139035195] Failed to read output from testmodel.py, exit status != 0: 0.5274477694183588 0.535835846 0.040736453000000006 Calling exit ...