Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.001341/0.001341, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001415/0.001415, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.409/1.409, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.02841/0.02841, allocations: 4.226 MB / 263.4 MB, free: 12.59 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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.756e-05, allocations: 2.281 kB / 392.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.00533/0.005357, allocations: 3.249 MB / 395.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.007848, allocations: 1.242 MB / 396.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.008163, allocations: 4 kB / 396.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.00884, allocations: 206.7 kB / 396.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.009375, allocations: 182.6 kB / 397.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.009672, allocations: 123.8 kB / 397.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008287/0.0105, allocations: 0.6378 MB / 397.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.01073, allocations: 76.64 kB / 397.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.0113, allocations: 335.2 kB / 398.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.01167, allocations: 207.4 kB / 398.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.01179, allocations: 56 kB / 398.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.01196, allocations: 71.98 kB / 398.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.01208, allocations: 119.5 kB / 398.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.01234, allocations: 171.5 kB / 398.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.01313, allocations: 0.5919 MB / 399.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01313, allocations: 0 / 399.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.01313, allocations: 0 / 399.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.01315, allocations: 4 kB / 399.5 MB, free: 2.84 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002348/0.0155, allocations: 0.7657 MB / 400.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.01555, allocations: 8.031 kB / 400.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.0157, allocations: 52.61 kB / 400.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.01719, allocations: 451.1 kB / 400.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.01722, allocations: 21.03 kB / 400.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.01727, allocations: 24.38 kB / 400.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00092/0.01819, allocations: 396.2 kB / 401.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.0182, allocations: 3.938 kB / 401.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.01826, allocations: 15.94 kB / 401.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.01827, allocations: 7.984 kB / 401.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.01934, allocations: 369.6 kB / 401.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.02193, allocations: 1.201 MB / 402.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.02317, allocations: 346.5 kB / 403.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.02369, allocations: 152.8 kB / 403.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.02372, allocations: 8.031 kB / 403.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.02376, allocations: 34.56 kB / 403.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.02376, allocations: 0 / 403.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.003513/0.02728, allocations: 0.6968 MB / 404 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.02733, allocations: 51.41 kB / 404 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.02781, allocations: 373.6 kB / 404.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.02785, allocations: 33.7 kB / 404.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.02804, allocations: 228.3 kB / 404.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.02811, allocations: 71.38 kB / 404.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.02825, allocations: 69.67 kB / 404.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.02843, allocations: 346.8 kB / 405.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.02889, allocations: 139.9 kB / 405.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.02938, allocations: 185.1 kB / 405.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.03034, allocations: 312.8 kB / 405.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.03034, allocations: 0 / 405.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002115/0.03246, allocations: 0.5901 MB / 406.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.03247, allocations: 4 kB / 406.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.03248, allocations: 0 / 406.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.03372, allocations: 329.5 kB / 406.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.03402, allocations: 67.89 kB / 406.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.03687, allocations: 2.176 MB / 408.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.03732, allocations: 47.84 kB / 408.9 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.03736, allocations: 15.92 kB / 409 MB, free: 8.957 MB / 334.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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.03757, allocations: 154.4 kB / 409.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.03766, allocations: 39.7 kB / 409.1 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.03777, allocations: 39.62 kB / 409.2 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.03777, allocations: 4 kB / 409.2 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.03778, allocations: 3.984 kB / 409.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.03778, allocations: 0 / 409.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.03984, allocations: 0.7883 MB / 410 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.03985, allocations: 7.938 kB / 410 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.04, allocations: 27.98 kB / 410 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007427/0.04074, allocations: 256.6 kB / 410.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.04078, allocations: 15.91 kB / 410.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.04196, allocations: 0.7319 MB / 411 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.04196, allocations: 4.031 kB / 411 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.04361, allocations: 0.5427 MB / 411.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.04377, allocations: 59.67 kB / 411.6 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.04383, allocations: 4 kB / 411.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.04419, allocations: 32.03 kB / 411.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.04424, allocations: 15.97 kB / 411.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.04427, allocations: 7.984 kB / 411.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.04458, allocations: 259.2 kB / 411.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04458, allocations: 0 / 411.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004413/0.04502, allocations: 95.84 kB / 412 MB, free: 5.781 MB / 334.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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002394/0.04526, allocations: 115 kB / 412.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.0468, allocations: 483.2 kB / 412.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.0468, allocations: 0 / 412.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.04734, allocations: 146.9 kB / 412.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.04791, allocations: 85.39 kB / 412.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.04959, allocations: 0.6821 MB / 413.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.04982, allocations: 191 kB / 413.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.04999, allocations: 43.28 kB / 413.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.05007, allocations: 28.5 kB / 413.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.05007, allocations: 0 / 413.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of Templates: time 0.01316/0.06323, allocations: 5.373 MB / 419.1 MB, free: 14.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5096380934119225] Failed to read output from testmodel.py, exit status != 0: 0.07354184612631798 0.089104288 0.072846334 Calling exit ...