Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 109.5 kB / 18.89 MB, free: 2.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 202.7 kB / 22.17 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.026/1.026, allocations: 175.8 MB / 481.9 MB, free: 7.691 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 75.56 kB / 0.6705 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4767, allocations: 94.52 MB / 0.7628 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005541/0.4822, allocations: 4.508 MB / 0.7672 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.4845, allocations: 1.914 MB / 0.7691 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.4846, allocations: 12.12 kB / 0.7691 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.486, allocations: 0.6219 MB / 0.7697 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.4864, allocations: 268.2 kB / 0.7699 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.4869, allocations: 251.1 kB / 0.7702 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.4874, allocations: 0.6108 MB / 0.7708 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.4878, allocations: 321 kB / 0.7711 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.488, allocations: 253.2 kB / 0.7713 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.4884, allocations: 274.3 kB / 0.7716 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.4885, allocations: 36.81 kB / 0.7716 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.4888, allocations: 263.7 kB / 0.7719 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4889, allocations: 151 kB / 0.772 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.4891, allocations: 223 kB / 0.7722 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.4897, allocations: 0.6102 MB / 0.7728 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4897, allocations: 0 / 0.7728 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4897, allocations: 0.8125 kB / 0.7728 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4897, allocations: 0 / 0.7728 GB, free: 4.449 MB / 0.5762 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.001011/0.4907, allocations: 0.7435 MB / 0.7735 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.4907, allocations: 9 kB / 0.7736 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.4916, allocations: 146.5 kB / 0.7737 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.4921, allocations: 343.2 kB / 0.774 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4921, allocations: 27.14 kB / 0.7741 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.4921, allocations: 38.44 kB / 0.7741 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.4929, allocations: 0.5306 MB / 0.7746 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4929, allocations: 5.859 kB / 0.7746 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.4929, allocations: 16.91 kB / 0.7746 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.493, allocations: 32.77 kB / 0.7747 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/0.4935, allocations: 387.1 kB / 0.775 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.4954, allocations: 2.402 MB / 0.7774 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.4959, allocations: 248.5 kB / 0.7776 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.496, allocations: 93.56 kB / 0.7777 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.496, allocations: 5.781 kB / 0.7777 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.496, allocations: 38.66 kB / 0.7777 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.496, allocations: 0 / 0.7777 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001747/0.4978, allocations: 1.128 MB / 0.7788 GB, free: 116 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.4978, allocations: 52.16 kB / 0.7789 GB, free: 52 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.4981, allocations: 306.7 kB / 0.7792 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4981, allocations: 31.89 kB / 0.7792 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.4983, allocations: 231.8 kB / 0.7794 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.4984, allocations: 93.27 kB / 0.7795 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.4985, allocations: 65.42 kB / 0.7796 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4986, allocations: 338.8 kB / 0.7799 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.4988, allocations: 100.3 kB / 0.78 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.499, allocations: 200.6 kB / 0.7802 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.4994, allocations: 311.1 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4994, allocations: 0.7188 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006836/0.5, allocations: 443.7 kB / 0.7809 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5001, allocations: 8.484 kB / 0.7809 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5001, allocations: 5.625 kB / 0.7809 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.5004, allocations: 103.2 kB / 0.781 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.5006, allocations: 62.62 kB / 0.7811 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.504, allocations: 4.389 MB / 0.7854 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.5042, allocations: 13.03 kB / 0.7854 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.5042, allocations: 15.5 kB / 0.7854 GB, free: 10.24 MB / 0.5919 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.0001945/0.5044, allocations: 178.9 kB / 0.7856 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.5045, allocations: 37.97 kB / 0.7856 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.5046, allocations: 39.75 kB / 0.7856 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5046, allocations: 2.781 kB / 0.7857 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5046, allocations: 3.453 kB / 0.7857 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5046, allocations: 5.203 kB / 0.7857 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.505, allocations: 405.4 kB / 0.786 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.505, allocations: 3.938 kB / 0.7861 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.5052, allocations: 41.55 kB / 0.7861 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.5055, allocations: 90.38 kB / 0.7862 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5055, allocations: 5.125 kB / 0.7862 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/0.5088, allocations: 4.391 MB / 0.7905 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5088, allocations: 0.8438 kB / 0.7905 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.5095, allocations: 0.5583 MB / 0.791 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.5097, allocations: 129.9 kB / 0.7911 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.5097, allocations: 4.594 kB / 0.7911 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.5099, allocations: 13.34 kB / 0.7912 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.51, allocations: 16.06 kB / 0.7912 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.51, allocations: 10.94 kB / 0.7912 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000192/0.5102, allocations: 207.6 kB / 0.7914 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5102, allocations: 2.219 kB / 0.7914 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004267/0.5106, allocations: 107.9 kB / 0.7915 GB, free: 4.793 MB / 0.5919 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.0001172/0.5107, allocations: 99.41 kB / 0.7916 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007925/0.5115, allocations: 0.5909 MB / 0.7922 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5115, allocations: 3.938 kB / 0.7922 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.512, allocations: 453.4 kB / 0.7926 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.5124, allocations: 76.67 kB / 0.7927 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.5135, allocations: 0.7774 MB / 0.7934 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.514, allocations: 0.832 MB / 0.7942 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.514, allocations: 24.03 kB / 0.7943 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.514, allocations: 7.938 kB / 0.7943 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of Templates: time 0.01159/0.5256, allocations: 8.701 MB / 0.8028 GB, free: 0.7148 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.168289072345942] Failed to read output from testmodel.py, exit status != 0: 0.5339306034147739 0.545859928 0.053505024000000005 Calling exit ...