Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.0007425/0.0007425, allocations: 80.48 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.0007655/0.0007655, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8292/0.8292, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.01655/0.01655, allocations: 4.207 MB / 264.2 MB, free: 9.133 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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 392.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.547e-05, allocations: 5.094 kB / 392.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003025/0.00305, allocations: 3.195 MB / 396.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.004244, allocations: 1.219 MB / 397.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.004372, allocations: 7.938 kB / 397.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.004752, allocations: 206.7 kB / 397.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.005003, allocations: 182.7 kB / 397.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.005143, allocations: 123.8 kB / 397.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.005526, allocations: 0.603 MB / 398.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.005779, allocations: 76.64 kB / 398.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.005999, allocations: 323.2 kB / 398.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.00618, allocations: 199.4 kB / 399.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.006229, allocations: 56 kB / 399.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.006312, allocations: 67.98 kB / 399.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.006371, allocations: 115.6 kB / 399.3 MB, free: 14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.006475, allocations: 167.6 kB / 399.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.006898, allocations: 0.5724 MB / 400 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006902, allocations: 4 kB / 400 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006903, allocations: 0 / 400 MB, free: 13.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.006907, allocations: 0 / 400 MB, free: 13.26 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001029/0.007936, allocations: 0.761 MB / 400.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.007968, allocations: 8.031 kB / 400.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.00803, allocations: 44.66 kB / 400.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.008659, allocations: 434.9 kB / 401.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.008674, allocations: 20.88 kB / 401.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.008703, allocations: 24.38 kB / 401.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.009097, allocations: 354.2 kB / 401.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.009107, allocations: 4 kB / 401.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.009128, allocations: 8 kB / 401.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.009136, allocations: 8 kB / 401.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.009533, allocations: 281.8 kB / 402 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.01077, allocations: 1.16 MB / 403.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.01112, allocations: 210.5 kB / 403.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.01134, allocations: 136.7 kB / 403.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01136, allocations: 0 / 403.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.01138, allocations: 38.56 kB / 403.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 7.71e-07/0.01138, allocations: 0 / 403.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001137/0.01251, allocations: 0.5138 MB / 404 MB, free: 9.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.01254, allocations: 51.41 kB / 404.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.0128, allocations: 369.5 kB / 404.4 MB, free: 8.688 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01282, allocations: 33.7 kB / 404.4 MB, free: 8.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01292, allocations: 224.4 kB / 404.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.01295, allocations: 59.48 kB / 404.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.01302, allocations: 57.69 kB / 404.8 MB, free: 8.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.01311, allocations: 334.8 kB / 405.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.01328, allocations: 119.9 kB / 405.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.01347, allocations: 160 kB / 405.4 MB, free: 7.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.0138, allocations: 248.7 kB / 405.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.0138, allocations: 4 kB / 405.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006531/0.01445, allocations: 453.2 kB / 406.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.01446, allocations: 4 kB / 406.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01447, allocations: 80 / 406.1 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.01495, allocations: 269.4 kB / 406.3 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01506, allocations: 43.98 kB / 406.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.01637, allocations: 2.113 MB / 408.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.01653, allocations: 39.83 kB / 408.5 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01654, allocations: 12 kB / 408.5 MB, free: 4.355 MB / 330.7 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 (26): * Single equations (assignments): 24 * 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.0001136/0.01666, allocations: 146.8 kB / 408.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.01669, allocations: 35.77 kB / 408.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.01674, allocations: 43.11 kB / 408.8 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01674, allocations: 4 kB / 408.8 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01674, allocations: 4 kB / 408.8 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01675, allocations: 3.938 kB / 408.8 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.0176, allocations: 0.6827 MB / 409.5 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.0176, allocations: 0 / 409.5 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.01765, allocations: 27.92 kB / 409.5 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.01788, allocations: 180.8 kB / 409.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01789, allocations: 4 kB / 409.7 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004089/0.0183, allocations: 0.6695 MB / 410.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0183, allocations: 0 / 410.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.01883, allocations: 435.9 kB / 410.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.0189, allocations: 51.67 kB / 410.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.01893, allocations: 8 kB / 410.8 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.01905, allocations: 23.97 kB / 410.8 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.01909, allocations: 15.92 kB / 410.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.0191, allocations: 7.938 kB / 410.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.01927, allocations: 255.2 kB / 411.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01927, allocations: 0 / 411.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01951, allocations: 87.83 kB / 411.2 MB, free: 1.598 MB / 330.7 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 (13): * Single equations (assignments): 12 * 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.0001119/0.01962, allocations: 107.1 kB / 411.3 MB, free: 1.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.02017, allocations: 403.3 kB / 411.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02018, allocations: 0 / 411.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.02033, allocations: 103.9 kB / 411.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.02063, allocations: 73.42 kB / 411.9 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.02138, allocations: 0.6382 MB / 412.5 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.02148, allocations: 186.5 kB / 412.7 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.02153, allocations: 24.5 kB / 412.7 MB, free: 0 / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.02153, allocations: 0 / 412.7 MB, free: 0 / 330.7 MB Notification: Performance of Templates: time 0.1161/0.1376, allocations: 6.851 MB / 419.6 MB, free: 35.34 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.552608874626458] Failed to read output from testmodel.py, exit status != 0: 0.1431750524789095 0.15008632800000002 0.14197721300000002 Calling exit ...