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.002119/0.002119, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002826/0.002826, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.03224/0.03224, allocations: 5.477 MB / 317.9 MB, free: 13.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.002197/0.002197, allocations: 67.89 kB / 446.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1042, allocations: 54.62 MB / 0.4895 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004921/0.1091, allocations: 3.147 MB / 0.4925 GB, free: 9.273 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1114, allocations: 1.2 MB / 0.4937 GB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.1116, allocations: 11.94 kB / 0.4937 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006322/0.1123, allocations: 206.8 kB / 0.4939 GB, free: 7.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004973/0.1128, allocations: 162.8 kB / 0.4941 GB, free: 7.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1131, allocations: 123.8 kB / 0.4942 GB, free: 7.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007175/0.1138, allocations: 0.5565 MB / 0.4947 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.114, allocations: 80.58 kB / 0.4948 GB, free: 6.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.1143, allocations: 223.2 kB / 0.495 GB, free: 6.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.1147, allocations: 223 kB / 0.4952 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.1148, allocations: 52 kB / 0.4953 GB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.115, allocations: 71.98 kB / 0.4953 GB, free: 6.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1151, allocations: 111.6 kB / 0.4955 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1153, allocations: 191.1 kB / 0.4956 GB, free: 6.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.116, allocations: 0.541 MB / 0.4962 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.116, allocations: 0 / 0.4962 GB, free: 5.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.116, allocations: 0 / 0.4962 GB, free: 5.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.116, allocations: 0 / 0.4962 GB, free: 5.531 MB / 366.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.002053/0.1181, allocations: 0.75 MB / 0.4969 GB, free: 4.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1181, allocations: 12.03 kB / 0.4969 GB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1182, allocations: 44.66 kB / 0.497 GB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.1194, allocations: 427.6 kB / 0.4974 GB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1194, allocations: 16.62 kB / 0.4974 GB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.1194, allocations: 24 kB / 0.4974 GB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000638/0.1201, allocations: 322 kB / 0.4977 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1201, allocations: 0 / 0.4977 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1201, allocations: 15.98 kB / 0.4977 GB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.1201, allocations: 4 kB / 0.4977 GB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.1208, allocations: 245.5 kB / 0.498 GB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.1229, allocations: 1.108 MB / 0.499 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.1234, allocations: 166.5 kB / 0.4992 GB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.1238, allocations: 108.8 kB / 0.4993 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1238, allocations: 0 / 0.4993 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1238, allocations: 42.5 kB / 0.4993 GB, free: 2.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.1238, allocations: 0 / 0.4993 GB, free: 2.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002116/0.1259, allocations: 474.1 kB / 0.4998 GB, free: 1.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.126, allocations: 59.34 kB / 0.4999 GB, free: 1.566 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.1264, allocations: 365.6 kB / 0.5002 GB, free: 1.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1265, allocations: 29.7 kB / 0.5002 GB, free: 1.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1266, allocations: 224.1 kB / 0.5004 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.1267, allocations: 47.58 kB / 0.5005 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1268, allocations: 57.62 kB / 0.5005 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.127, allocations: 342.8 kB / 0.5009 GB, free: 492 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.1272, allocations: 95.94 kB / 0.501 GB, free: 396 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.1275, allocations: 143.3 kB / 0.5011 GB, free: 240 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.128, allocations: 217.4 kB / 0.5013 GB, free: 12 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.128, allocations: 4 kB / 0.5013 GB, free: 8 kB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001355/0.1294, allocations: 434.3 kB / 0.5017 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1294, allocations: 7.938 kB / 0.5017 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1294, allocations: 4 kB / 0.5017 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008611/0.1303, allocations: 253.4 kB / 0.502 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1305, allocations: 35.98 kB / 0.502 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.1328, allocations: 2.094 MB / 0.5041 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.1332, allocations: 39.98 kB / 0.5041 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1332, allocations: 8 kB / 0.5041 GB, free: 13 MB / 382.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.0001783/0.1334, allocations: 149.8 kB / 0.5042 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.1335, allocations: 31.81 kB / 0.5043 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.1335, allocations: 35 kB / 0.5043 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1335, allocations: 0 / 0.5043 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1335, allocations: 0 / 0.5043 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1335, allocations: 7.938 kB / 0.5043 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1348, allocations: 0.5971 MB / 0.5049 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1348, allocations: 3.938 kB / 0.5049 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.1348, allocations: 15.98 kB / 0.5049 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.1352, allocations: 164.8 kB / 0.5051 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1352, allocations: 12 kB / 0.5051 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006908/0.1359, allocations: 0.6499 MB / 0.5057 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1359, allocations: 0 / 0.5057 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.1366, allocations: 360.8 kB / 0.5061 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.1367, allocations: 47.78 kB / 0.5061 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.1368, allocations: 4.094 kB / 0.5061 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.137, allocations: 19.92 kB / 0.5061 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.1371, allocations: 15.86 kB / 0.5061 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1371, allocations: 4 kB / 0.5062 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.1374, allocations: 255.2 kB / 0.5064 GB, free: 10.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1374, allocations: 0 / 0.5064 GB, free: 10.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1378, allocations: 91.78 kB / 0.5065 GB, free: 10.46 MB / 382.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.0001362/0.1379, allocations: 99.19 kB / 0.5066 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009223/0.1388, allocations: 363.3 kB / 0.5069 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1388, allocations: 4 kB / 0.5069 GB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.1391, allocations: 83.88 kB / 0.507 GB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.1396, allocations: 65.58 kB / 0.5071 GB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1408, allocations: 0.5933 MB / 0.5076 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.141, allocations: 181.1 kB / 0.5078 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.1411, allocations: 42.88 kB / 0.5079 GB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.1412, allocations: 23.44 kB / 0.5079 GB, free: 8.949 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1412, allocations: 0 / 0.5079 GB, free: 8.949 MB / 382.1 MB Notification: Performance of Templates: time 0.01056/0.1517, allocations: 4.965 MB / 0.5127 GB, free: 4.062 MB / 382.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.161472333595157] Failed to read output from testmodel.py, exit status != 0: 0.16009017080068588 0.361131674 0.24246362500000002 Calling exit ...