Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001635/0.001635, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.00172/0.00172, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.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.077/1.077, allocations: 175.7 MB / 479.1 MB, free: 3.426 MB / 366.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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.55 kB / 0.6663 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1795, allocations: 94.54 MB / 0.7586 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005197/0.1847, allocations: 3.11 MB / 0.7617 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.187, allocations: 1.34 MB / 0.763 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.1872, allocations: 7.938 kB / 0.763 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1883, allocations: 342.8 kB / 0.7633 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.1887, allocations: 143.2 kB / 0.7635 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1891, allocations: 131.7 kB / 0.7636 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.1895, allocations: 310.9 kB / 0.7639 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.1899, allocations: 188.3 kB / 0.7641 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1901, allocations: 127.5 kB / 0.7642 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.1904, allocations: 147.5 kB / 0.7643 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.1904, allocations: 20 kB / 0.7643 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.1908, allocations: 171.6 kB / 0.7645 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1909, allocations: 79.8 kB / 0.7646 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.191, allocations: 107.5 kB / 0.7647 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.1915, allocations: 338.8 kB / 0.765 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1915, allocations: 0 / 0.765 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1915, allocations: 0 / 0.765 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.1915, allocations: 4 kB / 0.765 GB, free: 10.54 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009347/0.1924, allocations: 0.5351 MB / 0.7655 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1925, allocations: 8.031 kB / 0.7655 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/0.1931, allocations: 76.72 kB / 0.7656 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1934, allocations: 248 kB / 0.7659 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1934, allocations: 12.75 kB / 0.7659 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1934, allocations: 16.38 kB / 0.7659 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.1939, allocations: 303.5 kB / 0.7662 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.194, allocations: 0 / 0.7662 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.194, allocations: 8 kB / 0.7662 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.194, allocations: 24.36 kB / 0.7662 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.1943, allocations: 193 kB / 0.7664 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.196, allocations: 1.464 MB / 0.7678 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1963, allocations: 171.7 kB / 0.768 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.1964, allocations: 32.84 kB / 0.768 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1964, allocations: 4 kB / 0.768 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1964, allocations: 30.56 kB / 0.768 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1964, allocations: 0 / 0.768 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005194/0.1969, allocations: 227.5 kB / 0.7683 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.197, allocations: 51.41 kB / 0.7683 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1972, allocations: 198.8 kB / 0.7685 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1972, allocations: 33.7 kB / 0.7685 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1974, allocations: 167.9 kB / 0.7687 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1974, allocations: 31.92 kB / 0.7687 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.1975, allocations: 37.66 kB / 0.7688 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1976, allocations: 326.8 kB / 0.7691 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.1977, allocations: 31.98 kB / 0.7691 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1978, allocations: 114.8 kB / 0.7692 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.198, allocations: 152.3 kB / 0.7694 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.198, allocations: 0 / 0.7694 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003435/0.1984, allocations: 194.3 kB / 0.7695 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1984, allocations: 8 kB / 0.7695 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1984, allocations: 320 / 0.7695 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.1985, allocations: 24.84 kB / 0.7696 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1987, allocations: 27.94 kB / 0.7696 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.2, allocations: 1.426 MB / 0.771 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2001, allocations: 19.89 kB / 0.771 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2001, allocations: 8.156 kB / 0.771 GB, free: 3.793 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.2003, allocations: 145.8 kB / 0.7712 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2003, allocations: 15.91 kB / 0.7712 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.2004, allocations: 21.39 kB / 0.7712 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2004, allocations: 0 / 0.7712 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2004, allocations: 3.938 kB / 0.7712 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2004, allocations: 0 / 0.7712 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.2009, allocations: 451.2 kB / 0.7716 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2009, allocations: 0 / 0.7716 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.201, allocations: 11.94 kB / 0.7716 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-05/0.2011, allocations: 16.84 kB / 0.7716 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.2011, allocations: 4 kB / 0.7717 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.2022, allocations: 1.418 MB / 0.773 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2022, allocations: 0 / 0.773 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2025, allocations: 212.4 kB / 0.7732 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.513e-05/0.2026, allocations: 97 kB / 0.7733 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.2026, allocations: 4 kB / 0.7733 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2027, allocations: 4 kB / 0.7733 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.2027, allocations: 4 kB / 0.7733 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.2027, allocations: 7.984 kB / 0.7734 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001433/0.2029, allocations: 136.5 kB / 0.7735 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2029, allocations: 7.938 kB / 0.7735 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00034/0.2032, allocations: 55.83 kB / 0.7735 GB, free: 0.957 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000127/0.2034, allocations: 107.2 kB / 0.7736 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.2038, allocations: 206.4 kB / 0.7738 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2038, allocations: 4.562 kB / 0.7738 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.204, allocations: 150.7 kB / 0.774 GB, free: 472 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.2043, allocations: 23.98 kB / 0.774 GB, free: 448 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.205, allocations: 391.9 kB / 0.7744 GB, free: 24 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.2055, allocations: 0.7514 MB / 0.7751 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.2055, allocations: 15.44 kB / 0.7751 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.2055, allocations: 0 / 0.7751 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.005893/0.2114, allocations: 3.004 MB / 0.7781 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.632914439076558] Failed to read output from testmodel.py, exit status != 0: 0.21920791501179338 0.234205975 0.039586606 Calling exit ...