Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 77.78 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 164.8 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02885/0.02885, allocations: 4.227 MB / 264 MB, free: 12.55 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 77.7 kB / 392.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1564, allocations: 54.57 MB / 447.3 MB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.007717/0.1641, allocations: 3.156 MB / 450.4 MB, free: 1.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.1676, allocations: 1.207 MB / 451.6 MB, free: 348 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.168, allocations: 7.938 kB / 451.6 MB, free: 340 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000948/0.1689, allocations: 202.8 kB / 451.8 MB, free: 136 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007524/0.1697, allocations: 163 kB / 452 MB, free: 15.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1701, allocations: 123.8 kB / 452.1 MB, free: 15.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1712, allocations: 0.5603 MB / 452.7 MB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.1715, allocations: 84.62 kB / 452.8 MB, free: 15.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/0.172, allocations: 219.2 kB / 453 MB, free: 14.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.1726, allocations: 223 kB / 453.2 MB, free: 14.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.1728, allocations: 56 kB / 453.2 MB, free: 14.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1731, allocations: 71.97 kB / 453.3 MB, free: 14.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.1732, allocations: 107.6 kB / 453.4 MB, free: 14.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.1736, allocations: 187.2 kB / 453.6 MB, free: 14.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1747, allocations: 0.5448 MB / 454.1 MB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1747, allocations: 0 / 454.1 MB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1747, allocations: 0 / 454.1 MB, free: 13.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.1747, allocations: 4 kB / 454.1 MB, free: 13.8 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.003147/0.1778, allocations: 0.7462 MB / 454.9 MB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.1779, allocations: 8.031 kB / 454.9 MB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.1781, allocations: 44.66 kB / 454.9 MB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.1799, allocations: 427.6 kB / 455.4 MB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.1799, allocations: 16.62 kB / 455.4 MB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.18, allocations: 24 kB / 455.4 MB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.181, allocations: 326.1 kB / 455.7 MB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.181, allocations: 0 / 455.7 MB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.1811, allocations: 8 kB / 455.7 MB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1811, allocations: 8 kB / 455.7 MB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1821, allocations: 241.8 kB / 456 MB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.1855, allocations: 1.12 MB / 457.1 MB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008196/0.1864, allocations: 174.4 kB / 457.3 MB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/0.1869, allocations: 104.8 kB / 457.4 MB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.1869, allocations: 4 kB / 457.4 MB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.187, allocations: 34.5 kB / 457.4 MB, free: 10.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/0.187, allocations: 4 kB / 457.4 MB, free: 10.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.003431/0.1904, allocations: 473.9 kB / 457.9 MB, free: 9.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.1905, allocations: 59.39 kB / 457.9 MB, free: 9.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.1912, allocations: 361.8 kB / 458.3 MB, free: 9.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.1912, allocations: 29.69 kB / 458.3 MB, free: 9.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.1915, allocations: 228 kB / 458.5 MB, free: 9.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.071e-05/0.1916, allocations: 43.69 kB / 458.6 MB, free: 9.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1918, allocations: 53.64 kB / 458.6 MB, free: 9.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.192, allocations: 342.8 kB / 459 MB, free: 8.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.1924, allocations: 103.9 kB / 459.1 MB, free: 8.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.1929, allocations: 135.4 kB / 459.2 MB, free: 8.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/0.1938, allocations: 214.2 kB / 459.4 MB, free: 8.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1938, allocations: 4 kB / 459.4 MB, free: 8.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002138/0.196, allocations: 430.8 kB / 459.8 MB, free: 7.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.196, allocations: 12.09 kB / 459.8 MB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.196, allocations: 3.984 kB / 459.8 MB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.1974, allocations: 249.4 kB / 460.1 MB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.1977, allocations: 43.97 kB / 460.1 MB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.2015, allocations: 2.078 MB / 462.2 MB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.202, allocations: 40.06 kB / 462.2 MB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.2021, allocations: 4 kB / 462.3 MB, free: 5.301 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003073/0.2024, allocations: 149.9 kB / 462.4 MB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.2025, allocations: 43.75 kB / 462.4 MB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.2026, allocations: 31.06 kB / 462.5 MB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2026, allocations: 0 / 462.5 MB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2026, allocations: 4 kB / 462.5 MB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.2027, allocations: 3.938 kB / 462.5 MB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.2047, allocations: 0.5971 MB / 463.1 MB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.2047, allocations: 7.938 kB / 463.1 MB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2049, allocations: 16.17 kB / 463.1 MB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005911/0.2054, allocations: 164.8 kB / 463.3 MB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.2055, allocations: 7.938 kB / 463.3 MB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.2066, allocations: 0.6461 MB / 463.9 MB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.2066, allocations: 3.938 kB / 463.9 MB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.2077, allocations: 364.9 kB / 464.3 MB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.2079, allocations: 43.78 kB / 464.3 MB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.208, allocations: 8 kB / 464.3 MB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.2084, allocations: 15.98 kB / 464.3 MB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.2085, allocations: 15.92 kB / 464.4 MB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.2085, allocations: 11.92 kB / 464.4 MB, free: 3.078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004794/0.209, allocations: 251.2 kB / 464.6 MB, free: 2.836 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.209, allocations: 0 / 464.6 MB, free: 2.836 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.2097, allocations: 83.78 kB / 464.7 MB, free: 2.754 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 8 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002119/0.2099, allocations: 103.2 kB / 464.8 MB, free: 2.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.2114, allocations: 369.8 kB / 465.2 MB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2114, allocations: 0 / 465.2 MB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.2118, allocations: 83.88 kB / 465.2 MB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.2127, allocations: 73.3 kB / 465.3 MB, free: 2.113 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.2145, allocations: 0.5859 MB / 465.9 MB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.2147, allocations: 180.9 kB / 466.1 MB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.215, allocations: 38.98 kB / 466.1 MB, free: 1.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.2151, allocations: 24.5 kB / 466.1 MB, free: 1.238 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2151, allocations: 0 / 466.1 MB, free: 1.238 MB / 430.1 MB Notification: Performance of Templates: time 0.01231/0.2274, allocations: 4.548 MB / 470.7 MB, free: 12.76 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.918674345011823] Failed to read output from testmodel.py, exit status != 0: 0.2391207660548389 0.413124798 0.074802001 Calling exit ...