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.00128/0.00128, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00157/0.00157, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.39/1.39, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] 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.043/1.043, allocations: 175.8 MB / 481.9 MB, free: 7.664 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.001971/0.001971, allocations: 68.8 kB / 0.6705 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5409, allocations: 94.53 MB / 0.7628 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.00561/0.5465, allocations: 4.511 MB / 0.7672 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002834/0.5493, allocations: 1.911 MB / 0.7691 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.5496, allocations: 12.16 kB / 0.7691 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.551, allocations: 0.6265 MB / 0.7697 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.5516, allocations: 258.2 kB / 0.7699 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.5523, allocations: 254 kB / 0.7702 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006698/0.5529, allocations: 0.6067 MB / 0.7708 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.5535, allocations: 324.9 kB / 0.7711 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.5537, allocations: 249.7 kB / 0.7713 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004499/0.5542, allocations: 284.2 kB / 0.7716 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.5542, allocations: 38.09 kB / 0.7716 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.5547, allocations: 260.8 kB / 0.7719 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.5548, allocations: 158.8 kB / 0.772 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.555, allocations: 211.4 kB / 0.7722 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006788/0.5557, allocations: 0.612 MB / 0.7728 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5557, allocations: 5.438 kB / 0.7728 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5557, allocations: 0 / 0.7728 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5557, allocations: 0 / 0.7728 GB, free: 4.453 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.00118/0.5569, allocations: 0.7357 MB / 0.7735 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.557, allocations: 13.98 kB / 0.7736 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.558, allocations: 152.8 kB / 0.7737 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.5584, allocations: 338.9 kB / 0.774 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.5585, allocations: 26.72 kB / 0.7741 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.5585, allocations: 30.19 kB / 0.7741 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.5594, allocations: 0.5352 MB / 0.7746 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5594, allocations: 4.656 kB / 0.7746 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.5594, allocations: 20.72 kB / 0.7746 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.5595, allocations: 30 kB / 0.7747 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.5601, allocations: 386.7 kB / 0.775 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.5622, allocations: 2.405 MB / 0.7774 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.5627, allocations: 243.4 kB / 0.7776 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.5628, allocations: 96.97 kB / 0.7777 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.5628, allocations: 1.75 kB / 0.7777 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.5628, allocations: 42.81 kB / 0.7777 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.5629, allocations: 0 / 0.7777 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001955/0.5648, allocations: 1.129 MB / 0.7788 GB, free: 120 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.5648, allocations: 55.72 kB / 0.7789 GB, free: 56 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.5652, allocations: 306 kB / 0.7792 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.5652, allocations: 33.17 kB / 0.7792 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5654, allocations: 231 kB / 0.7794 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.5655, allocations: 85.22 kB / 0.7795 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.5656, allocations: 66.44 kB / 0.7796 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.5657, allocations: 337.7 kB / 0.7799 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.5659, allocations: 103.6 kB / 0.78 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.5662, allocations: 192 kB / 0.7802 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.5666, allocations: 324.9 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5666, allocations: 3.938 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007487/0.5673, allocations: 440.3 kB / 0.7809 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5674, allocations: 9.484 kB / 0.7809 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5674, allocations: 0 / 0.7809 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.5677, allocations: 96.03 kB / 0.781 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.568, allocations: 67.02 kB / 0.7811 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.5718, allocations: 4.398 MB / 0.7854 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.5721, allocations: 9.5 kB / 0.7854 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.5721, allocations: 14.34 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.0002487/0.5724, allocations: 186.3 kB / 0.7856 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.5724, allocations: 33 kB / 0.7856 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/0.5725, allocations: 39.25 kB / 0.7857 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5725, allocations: 3.938 kB / 0.7857 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5725, allocations: 0 / 0.7857 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5725, allocations: 1.219 kB / 0.7857 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.5731, allocations: 400.2 kB / 0.786 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5731, allocations: 4 kB / 0.786 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.5733, allocations: 40.69 kB / 0.7861 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/0.5736, allocations: 93.14 kB / 0.7862 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.5736, allocations: 1.219 kB / 0.7862 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/0.5772, allocations: 4.398 MB / 0.7905 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5772, allocations: 0.6094 kB / 0.7905 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.5781, allocations: 0.5544 MB / 0.791 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.5782, allocations: 124.7 kB / 0.7911 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.5783, allocations: 13.5 kB / 0.7911 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.5785, allocations: 7 kB / 0.7911 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.5785, allocations: 16.38 kB / 0.7912 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.5786, allocations: 6.156 kB / 0.7912 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002147/0.5788, allocations: 211.6 kB / 0.7914 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5788, allocations: 0 / 0.7914 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004998/0.5793, allocations: 103.1 kB / 0.7915 GB, free: 4.809 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.0001449/0.5794, allocations: 105.3 kB / 0.7916 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009604/0.5804, allocations: 0.5964 MB / 0.7922 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5804, allocations: 0 / 0.7922 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.581, allocations: 454.2 kB / 0.7926 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.5815, allocations: 85.73 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.001349/0.5828, allocations: 0.7299 MB / 0.7934 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.5835, allocations: 0.834 MB / 0.7942 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000188/0.5837, allocations: 58.11 kB / 0.7943 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.5837, allocations: 25.27 kB / 0.7943 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.5837, allocations: 0 / 0.7943 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of Templates: time 0.01209/0.5958, allocations: 4.629 MB / 0.7988 GB, free: 2.391 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.998982687946409] Failed to read output from testmodel.py, exit status != 0: 0.6043752767145634 0.618170572 0.059441626000000004 Calling exit ...