Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001302/0.001302, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001302/0.001302, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.422/1.422, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.066/1.066, allocations: 175.7 MB / 479.1 MB, free: 3.395 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.53 kB / 0.6663 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 94.55 MB / 0.7587 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005781/0.1694, allocations: 3.873 MB / 0.7624 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1723, allocations: 1.753 MB / 0.7642 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1725, allocations: 11.94 kB / 0.7642 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.1739, allocations: 0.4903 MB / 0.7646 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005184/0.1744, allocations: 218.9 kB / 0.7649 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.175, allocations: 219.5 kB / 0.7651 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.1755, allocations: 470.4 kB / 0.7655 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.176, allocations: 289.2 kB / 0.7658 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.1763, allocations: 199.3 kB / 0.766 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.1767, allocations: 219.2 kB / 0.7662 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.1767, allocations: 32 kB / 0.7662 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.1772, allocations: 259.4 kB / 0.7665 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1774, allocations: 127.6 kB / 0.7666 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1776, allocations: 179.1 kB / 0.7668 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.1782, allocations: 0.506 MB / 0.7672 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1782, allocations: 3.938 kB / 0.7673 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.966e-06/0.1782, allocations: 0 / 0.7673 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.1782, allocations: 0 / 0.7673 GB, free: 8.266 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001085/0.1793, allocations: 0.6388 MB / 0.7679 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1794, allocations: 8.031 kB / 0.7679 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.1803, allocations: 136.6 kB / 0.768 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.1807, allocations: 303.8 kB / 0.7683 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1807, allocations: 21.03 kB / 0.7683 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.1808, allocations: 28.31 kB / 0.7683 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.1815, allocations: 467.9 kB / 0.7688 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1815, allocations: 0 / 0.7688 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.1816, allocations: 15.98 kB / 0.7688 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.1816, allocations: 28.55 kB / 0.7688 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.1821, allocations: 317.9 kB / 0.7691 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.1845, allocations: 2.185 MB / 0.7713 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.1849, allocations: 235.8 kB / 0.7715 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.1851, allocations: 105.2 kB / 0.7716 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1851, allocations: 4 kB / 0.7716 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1852, allocations: 38.5 kB / 0.7716 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1852, allocations: 0 / 0.7716 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0006295/0.1858, allocations: 302.6 kB / 0.7719 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1858, allocations: 51.41 kB / 0.772 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1861, allocations: 270.6 kB / 0.7722 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1862, allocations: 29.7 kB / 0.7723 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1863, allocations: 216.2 kB / 0.7725 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.1864, allocations: 47.58 kB / 0.7725 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/0.1864, allocations: 49.91 kB / 0.7726 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1866, allocations: 342.8 kB / 0.7729 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1867, allocations: 56.44 kB / 0.7729 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1869, allocations: 141 kB / 0.7731 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1872, allocations: 214.9 kB / 0.7733 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1872, allocations: 0 / 0.7733 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004583/0.1876, allocations: 271.5 kB / 0.7735 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1876, allocations: 4 kB / 0.7735 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1877, allocations: 7.938 kB / 0.7736 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.1878, allocations: 24.94 kB / 0.7736 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.188, allocations: 55.92 kB / 0.7736 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1893, allocations: 1.422 MB / 0.775 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1895, allocations: 27.78 kB / 0.775 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1895, allocations: 12 kB / 0.7751 GB, free: 15.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001846/0.1897, allocations: 169.6 kB / 0.7752 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.1897, allocations: 23.86 kB / 0.7752 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.1898, allocations: 29.83 kB / 0.7753 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1898, allocations: 0 / 0.7753 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.1898, allocations: 4 kB / 0.7753 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1898, allocations: 4.062 kB / 0.7753 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009765/0.1907, allocations: 0.6986 MB / 0.776 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1907, allocations: 192 / 0.776 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.1908, allocations: 35.92 kB / 0.776 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.841e-05/0.1909, allocations: 20.78 kB / 0.776 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1909, allocations: 8 kB / 0.776 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.1921, allocations: 1.414 MB / 0.7774 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1921, allocations: 7.969 kB / 0.7774 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.1925, allocations: 318.8 kB / 0.7777 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1926, allocations: 116.9 kB / 0.7778 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1927, allocations: 4 kB / 0.7778 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1928, allocations: 15.98 kB / 0.7778 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.1929, allocations: 23.86 kB / 0.7779 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1929, allocations: 4 kB / 0.7779 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002042/0.1931, allocations: 190 kB / 0.7781 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1931, allocations: 0 / 0.7781 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000406/0.1935, allocations: 79.84 kB / 0.7781 GB, free: 12.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * 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: 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.0001216/0.1936, allocations: 103.2 kB / 0.7782 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.1941, allocations: 262.4 kB / 0.7785 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1941, allocations: 3.938 kB / 0.7785 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1943, allocations: 183.7 kB / 0.7787 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.1948, allocations: 60.31 kB / 0.7787 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009505/0.1958, allocations: 0.5915 MB / 0.7793 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.1962, allocations: 0.787 MB / 0.7801 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.1963, allocations: 23.38 kB / 0.7801 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of SimCode: time 7.32e-07/0.1963, allocations: 4 kB / 0.7801 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of Templates: time 0.007106/0.2034, allocations: 4.423 MB / 0.7844 GB, free: 5.621 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.722877186955884] Failed to read output from testmodel.py, exit status != 0: 0.2116028619930148 0.229140386 0.047794176 Calling exit ...