Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.0007604/0.0007604, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007734/0.0007734, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8221/0.8221, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.01613/0.01613, allocations: 4.217 MB / 264.2 MB, free: 9.152 MB / 250.7 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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 393 MB, free: 5.609 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.411e-05, allocations: 9.234 kB / 393 MB, free: 5.602 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003535/0.003559, allocations: 3.993 MB / 397 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.00509, allocations: 1.535 MB / 398.5 MB, free: 44 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.005276, allocations: 15.88 kB / 398.5 MB, free: 28 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.005852, allocations: 289.4 kB / 398.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.006172, allocations: 258.1 kB / 399 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.006438, allocations: 223.5 kB / 399.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.02032, allocations: 26.4 MB / 425.7 MB, free: 4.785 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/0.02433, allocations: 3.769 MB / 429.4 MB, free: 0.918 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01381/0.03814, allocations: 13.97 MB / 443.4 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1444/0.1825, allocations: 11.62 MB / 455 MB, free: 62.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003487/0.186, allocations: 2.707 MB / 457.7 MB, free: 62.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.1896, allocations: 2.719 MB / 460.5 MB, free: 62.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002317/0.1919, allocations: 5.184 MB / 465.6 MB, free: 60.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006608/0.1985, allocations: 6.894 MB / 472.5 MB, free: 57.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01886/0.2173, allocations: 30.71 MB / 0.4914 GB, free: 45.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2174, allocations: 0 / 0.4914 GB, free: 45.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.2174, allocations: 0 / 0.4914 GB, free: 45.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000662/0.218, allocations: 0 / 0.4914 GB, free: 45.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.05851/0.2765, allocations: 31.36 MB / 0.5221 GB, free: 26.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.493e-05/0.2765, allocations: 10.64 kB / 0.5221 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.2792, allocations: 1.544 MB / 0.5236 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02753/0.3067, allocations: 18.76 MB / 0.5419 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.307, allocations: 0.6267 MB / 0.5425 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002486/0.3095, allocations: 0.8125 MB / 0.5433 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/0.3278, allocations: 15.73 MB / 0.5587 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.3279, allocations: 23.66 kB / 0.5587 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007976/0.3287, allocations: 348 kB / 0.559 GB, free: 5.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003476/0.3291, allocations: 212.5 kB / 0.5592 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/0.3514, allocations: 17.57 MB / 0.5764 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2218/0.5732, allocations: 52.46 MB / 0.6276 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01605/0.5892, allocations: 17.33 MB / 0.6445 GB, free: 99.65 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005965/0.5952, allocations: 7.135 MB / 0.6515 GB, free: 97.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.5953, allocations: 67.03 kB / 0.6516 GB, free: 97.47 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5953, allocations: 77.45 kB / 0.6516 GB, free: 97.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=448): time 5.27e-06/0.5953, allocations: 0 / 0.6516 GB, free: 97.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=448): time 0.0221/0.6174, allocations: 21.92 MB / 0.6731 GB, free: 91.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.6175, allocations: 97.17 kB / 0.6731 GB, free: 91.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/0.6285, allocations: 13.6 MB / 0.6864 GB, free: 83.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004742/0.6289, allocations: 109.7 kB / 0.6865 GB, free: 83.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.6314, allocations: 6.257 MB / 0.6926 GB, free: 78.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007643/0.6321, allocations: 1.637 MB / 0.6942 GB, free: 76.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/0.6346, allocations: 2.113 MB / 0.6963 GB, free: 74.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 2.551e-05/0.6347, allocations: 309.1 kB / 0.6966 GB, free: 74.47 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006771/0.6414, allocations: 7.652 MB / 0.7041 GB, free: 66.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007043/0.6485, allocations: 8.842 MB / 0.7127 GB, free: 57.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/0.6619, allocations: 14.38 MB / 0.7268 GB, free: 42.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.6619, allocations: 8 kB / 0.7268 GB, free: 42.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.02706/0.6889, allocations: 25.57 MB / 0.7517 GB, free: 17.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.689, allocations: 12 kB / 0.7517 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.689, allocations: 26.16 kB / 0.7518 GB, free: 17.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02446/0.7135, allocations: 26.41 MB / 0.7776 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.717, allocations: 1.498 MB / 0.779 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2089/0.9258, allocations: 102.5 MB / 0.8791 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00814/0.934, allocations: 2.355 MB / 0.8814 GB, free: 89.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005773/0.9346, allocations: 383.5 kB / 0.8817 GB, free: 89.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.005288/0.9398, allocations: 4.562 MB / 0.8862 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.9409, allocations: 1.106 MB / 0.8873 GB, free: 87.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/0.9571, allocations: 17.44 MB / 0.9043 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.9571, allocations: 42.03 kB / 0.9044 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.9571, allocations: 0 / 0.9044 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.9572, allocations: 19.92 kB / 0.9044 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02888/0.986, allocations: 29.69 MB / 0.9334 GB, free: 50.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.9861, allocations: 0 / 0.9334 GB, free: 50.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000801/0.9869, allocations: 451.4 kB / 0.9338 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.013/0.9999, allocations: 15.81 MB / 0.9492 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003257/1, allocations: 111.9 kB / 0.9493 GB, free: 34.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0311/1.031, allocations: 25.2 MB / 0.974 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.031, allocations: 0 / 0.974 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1717/1.203, allocations: 16.68 MB / 0.9902 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005043/1.208, allocations: 2.664 MB / 0.9928 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.209, allocations: 73.38 kB / 0.9929 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004149/1.213, allocations: 1.311 MB / 0.9942 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/1.214, allocations: 232.2 kB / 0.9944 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/1.214, allocations: 150.4 kB / 0.9946 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008536/1.222, allocations: 9.275 MB / 1.004 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/1.222, allocations: 0 / 1.004 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005881/1.228, allocations: 3.097 MB / 1.007 GB, free: 134.5 MB / 0.4948 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000475/1.229, allocations: 203 kB / 1.007 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03481/1.264, allocations: 30.37 MB / 1.036 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.264, allocations: 3.906 kB / 1.036 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02234/1.286, allocations: 15.04 MB / 1.051 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007708/1.294, allocations: 2.63 MB / 1.054 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/1.323, allocations: 29.81 MB / 1.083 GB, free: 82.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004232/1.327, allocations: 8.185 MB / 1.091 GB, free: 74.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.329, allocations: 0.6058 MB / 1.091 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/1.329, allocations: 4 kB / 1.091 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of Templates: time 2.519/3.848, allocations: 1.992 GB / 3.083 GB, free: 148.5 MB / 0.5261 GB " [Timeout remaining time 656] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 24.779605678282678] Failed to read output from testmodel.py, exit status != 0: 3.853660063818097 3.859521011 3.640786376 Calling exit ...