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.000831/0.000831, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007722/0.0007722, allocations: 177.9 kB / 23.22 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.8508/0.8508, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.01758/0.01758, allocations: 4.215 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.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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 393 MB, free: 5.586 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.527e-05, allocations: 2.281 kB / 393 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003133/0.003159, allocations: 3.147 MB / 396.1 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.004432, allocations: 1.215 MB / 397.3 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.004574, allocations: 4 kB / 397.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.004966, allocations: 202.8 kB / 397.5 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.005216, allocations: 166.7 kB / 397.7 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.005368, allocations: 131.8 kB / 397.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.005754, allocations: 0.5757 MB / 398.4 MB, free: 124 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.005912, allocations: 88.61 kB / 398.5 MB, free: 28 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.00614, allocations: 311.3 kB / 398.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.00632, allocations: 195.4 kB / 399 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.006367, allocations: 52 kB / 399 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.006452, allocations: 67.98 kB / 399.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.006528, allocations: 107.6 kB / 399.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.006629, allocations: 163.6 kB / 399.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.007048, allocations: 0.5647 MB / 399.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00705, allocations: 0 / 399.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007051, allocations: 0 / 399.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.007056, allocations: 0 / 399.9 MB, free: 14.58 MB / 378.7 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.001025/0.008081, allocations: 0.7423 MB / 400.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.008114, allocations: 8.031 kB / 400.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.008176, allocations: 52.66 kB / 400.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.008755, allocations: 411 kB / 401.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.008771, allocations: 20.88 kB / 401.1 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.008797, allocations: 20.38 kB / 401.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.009159, allocations: 330.2 kB / 401.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.009168, allocations: 0 / 401.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.009188, allocations: 8 kB / 401.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.009194, allocations: 4 kB / 401.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.009525, allocations: 257.8 kB / 401.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01066, allocations: 1.109 MB / 402.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.01095, allocations: 174.4 kB / 403 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.01112, allocations: 108.8 kB / 403.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.01114, allocations: 0 / 403.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.01115, allocations: 34.56 kB / 403.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.01115, allocations: 4.094 kB / 403.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001019/0.01217, allocations: 477.8 kB / 403.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.0122, allocations: 55.61 kB / 403.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.01245, allocations: 365.6 kB / 404.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.01247, allocations: 33.64 kB / 404.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.01257, allocations: 228.1 kB / 404.3 MB, free: 9.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.01259, allocations: 35.66 kB / 404.3 MB, free: 9.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.01265, allocations: 49.69 kB / 404.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.01274, allocations: 350.7 kB / 404.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.01288, allocations: 103.9 kB / 404.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.01304, allocations: 135.3 kB / 405 MB, free: 9.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.01331, allocations: 214.3 kB / 405.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01331, allocations: 4 kB / 405.2 MB, free: 9.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006464/0.01396, allocations: 442.7 kB / 405.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.547e-06/0.01397, allocations: 4 kB / 405.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.01397, allocations: 0 / 405.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.01443, allocations: 245.5 kB / 405.9 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.01452, allocations: 43.92 kB / 405.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.01576, allocations: 2.078 MB / 408 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.0159, allocations: 39.89 kB / 408 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.01591, allocations: 11.98 kB / 408 MB, free: 6.078 MB / 378.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 (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.0001032/0.01601, allocations: 141.8 kB / 408.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.01605, allocations: 39.75 kB / 408.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.01609, allocations: 35.12 kB / 408.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01609, allocations: 4 kB / 408.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01609, allocations: 64 / 408.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.0161, allocations: 4 kB / 408.2 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.01674, allocations: 0.6049 MB / 408.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01674, allocations: 0 / 408.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.01678, allocations: 15.98 kB / 408.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.01699, allocations: 168.7 kB / 409 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.017, allocations: 3.938 kB / 409 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003606/0.01736, allocations: 0.646 MB / 409.7 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01736, allocations: 0 / 409.7 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.01772, allocations: 372.8 kB / 410 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.01779, allocations: 43.88 kB / 410.1 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.01781, allocations: 7.938 kB / 410.1 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.01793, allocations: 19.98 kB / 410.1 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.01797, allocations: 7.984 kB / 410.1 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01797, allocations: 4 kB / 410.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.01814, allocations: 259.2 kB / 410.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01814, allocations: 0 / 410.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01838, allocations: 83.72 kB / 410.5 MB, free: 3.535 MB / 378.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 (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.0001154/0.01849, allocations: 103.2 kB / 410.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.01901, allocations: 367.3 kB / 410.9 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01901, allocations: 4 kB / 410.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.01913, allocations: 87.86 kB / 411 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.01944, allocations: 64.45 kB / 411.1 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.02013, allocations: 0.6059 MB / 411.7 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.02023, allocations: 173.1 kB / 411.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.02028, allocations: 28.48 kB / 411.9 MB, free: 2.043 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02028, allocations: 0 / 411.9 MB, free: 2.043 MB / 378.7 MB Notification: Performance of Templates: time 0.005663/0.02594, allocations: 6.598 MB / 418.5 MB, free: 11.46 MB / 394.7 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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7754502119496465] Failed to read output from testmodel.py, exit status != 0: 0.030836538411676884 0.038873641 0.030191139000000002 Calling exit ...