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.001363/0.001363, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.001386/0.001386, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.408/1.408, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.185/1.185, allocations: 173.4 MB / 471.3 MB, free: 6.656 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.001886/0.001886, allocations: 71.86 kB / 0.649 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 89.53 MB / 0.7364 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004824/0.1647, allocations: 3.059 MB / 0.7394 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1669, allocations: 1.324 MB / 0.7407 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1671, allocations: 7.938 kB / 0.7407 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.1681, allocations: 342.7 kB / 0.741 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.1684, allocations: 143.2 kB / 0.7411 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1688, allocations: 135.1 kB / 0.7413 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000368/0.1692, allocations: 306.9 kB / 0.7416 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.1696, allocations: 240.3 kB / 0.7418 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.1697, allocations: 123.5 kB / 0.7419 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.1701, allocations: 139.5 kB / 0.7421 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.1701, allocations: 16 kB / 0.7421 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.1704, allocations: 167.6 kB / 0.7422 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1705, allocations: 79.8 kB / 0.7423 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.1707, allocations: 111.5 kB / 0.7424 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.1711, allocations: 330.8 kB / 0.7427 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1711, allocations: 4 kB / 0.7427 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1712, allocations: 0 / 0.7427 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1712, allocations: 4 kB / 0.7427 GB, free: 13.17 MB / 0.5606 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.0008435/0.172, allocations: 0.522 MB / 0.7432 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1721, allocations: 12.02 kB / 0.7433 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.1726, allocations: 76.73 kB / 0.7433 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.173, allocations: 252 kB / 0.7436 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.173, allocations: 12.75 kB / 0.7436 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.173, allocations: 20.36 kB / 0.7436 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.1735, allocations: 299.5 kB / 0.7439 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1735, allocations: 8 kB / 0.7439 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.1735, allocations: 7.984 kB / 0.7439 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.1736, allocations: 12.38 kB / 0.7439 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.1739, allocations: 197 kB / 0.7441 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1755, allocations: 1.46 MB / 0.7455 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1758, allocations: 175.7 kB / 0.7457 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/0.1759, allocations: 36.84 kB / 0.7457 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.1759, allocations: 0 / 0.7457 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1759, allocations: 34.56 kB / 0.7458 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1759, allocations: 0 / 0.7458 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004832/0.1764, allocations: 231.6 kB / 0.746 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1764, allocations: 51.41 kB / 0.746 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1767, allocations: 202.8 kB / 0.7462 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1767, allocations: 29.7 kB / 0.7463 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1768, allocations: 167.9 kB / 0.7464 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.1768, allocations: 27.78 kB / 0.7464 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.1769, allocations: 37.67 kB / 0.7465 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1771, allocations: 326.8 kB / 0.7468 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.1771, allocations: 39.89 kB / 0.7468 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1773, allocations: 108.4 kB / 0.7469 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1775, allocations: 140.4 kB / 0.7471 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1775, allocations: 0 / 0.7471 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003251/0.1778, allocations: 194.2 kB / 0.7472 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1778, allocations: 4 kB / 0.7472 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1778, allocations: 4 kB / 0.7473 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.178, allocations: 24.84 kB / 0.7473 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1781, allocations: 35.92 kB / 0.7473 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.1793, allocations: 1.418 MB / 0.7487 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1795, allocations: 16.11 kB / 0.7487 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1795, allocations: 16 kB / 0.7487 GB, free: 6.426 MB / 0.5606 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.0001417/0.1797, allocations: 145.8 kB / 0.7489 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.1797, allocations: 11.91 kB / 0.7489 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.1797, allocations: 21.41 kB / 0.7489 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1797, allocations: 3.938 kB / 0.7489 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1798, allocations: 0 / 0.7489 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1798, allocations: 0 / 0.7489 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.1803, allocations: 459.2 kB / 0.7493 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1803, allocations: 3.938 kB / 0.7493 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.1804, allocations: 7.938 kB / 0.7494 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.278e-05/0.1805, allocations: 28.83 kB / 0.7494 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1805, allocations: 0 / 0.7494 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1816, allocations: 1.41 MB / 0.7508 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1816, allocations: 0 / 0.7508 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1819, allocations: 216.5 kB / 0.751 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.1819, allocations: 93.09 kB / 0.7511 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.182, allocations: 7.938 kB / 0.7511 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1821, allocations: 4 kB / 0.7511 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.1821, allocations: 11.97 kB / 0.7511 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.1821, allocations: 0 / 0.7511 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001457/0.1823, allocations: 148.4 kB / 0.7512 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1823, allocations: 3.938 kB / 0.7512 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003272/0.1826, allocations: 51.89 kB / 0.7513 GB, free: 3.578 MB / 0.5606 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.0001323/0.1828, allocations: 95.25 kB / 0.7514 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.1831, allocations: 218.9 kB / 0.7516 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1832, allocations: 4.062 kB / 0.7516 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.1833, allocations: 146.7 kB / 0.7517 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1837, allocations: 30.02 kB / 0.7517 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.1844, allocations: 399.8 kB / 0.7521 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.1848, allocations: 0.7475 MB / 0.7529 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.1848, allocations: 15.44 kB / 0.7529 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1848, allocations: 0 / 0.7529 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of Templates: time 0.005265/0.1901, allocations: 2.975 MB / 0.7558 GB, free: 14.88 MB / 0.5762 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.528277337085456] Failed to read output from testmodel.py, exit status != 0: 0.19635596312582493 0.21021647300000001 0.036418937000000005 Calling exit ...