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.001834/0.001834, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002396/0.002396, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.98 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.0443/0.0443, allocations: 5.472 MB / 317.9 MB, free: 13.74 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.00231/0.00231, allocations: 63.91 kB / 446.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1185, allocations: 54.62 MB / 0.4895 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.006529/0.125, allocations: 3.438 MB / 0.4929 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1278, allocations: 1.312 MB / 0.4942 GB, free: 7.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.1282, allocations: 4 kB / 0.4942 GB, free: 7.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.1291, allocations: 242.6 kB / 0.4944 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.1298, allocations: 158.9 kB / 0.4946 GB, free: 7.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1301, allocations: 127.8 kB / 0.4947 GB, free: 7.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008411/0.131, allocations: 0.5565 MB / 0.4952 GB, free: 6.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.1312, allocations: 92.56 kB / 0.4953 GB, free: 6.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.1316, allocations: 215.2 kB / 0.4955 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.1319, allocations: 254.9 kB / 0.4958 GB, free: 6.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.132, allocations: 56 kB / 0.4958 GB, free: 6.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.1321, allocations: 75.98 kB / 0.4959 GB, free: 6.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1323, allocations: 107.6 kB / 0.496 GB, free: 6.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.1325, allocations: 230.9 kB / 0.4962 GB, free: 5.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.1332, allocations: 0.5253 MB / 0.4967 GB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1332, allocations: 0 / 0.4967 GB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1332, allocations: 0 / 0.4967 GB, free: 5.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1332, allocations: 0 / 0.4967 GB, free: 5.312 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.002421/0.1356, allocations: 0.7539 MB / 0.4975 GB, free: 4.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1357, allocations: 12.03 kB / 0.4975 GB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1358, allocations: 44.66 kB / 0.4975 GB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1371, allocations: 423.7 kB / 0.4979 GB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1371, allocations: 20.62 kB / 0.4979 GB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.1371, allocations: 28 kB / 0.498 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.1377, allocations: 292.2 kB / 0.4982 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1378, allocations: 0 / 0.4982 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.1378, allocations: 12 kB / 0.4983 GB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1378, allocations: 4 kB / 0.4983 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.1384, allocations: 253.5 kB / 0.4985 GB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.1409, allocations: 1.22 MB / 0.4997 GB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.1414, allocations: 178.5 kB / 0.4999 GB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.1417, allocations: 104.8 kB / 0.5 GB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1418, allocations: 0 / 0.5 GB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1418, allocations: 38.78 kB / 0.5 GB, free: 1.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1418, allocations: 3.938 kB / 0.5 GB, free: 1.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002266/0.1441, allocations: 473.8 kB / 0.5005 GB, free: 1.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.1441, allocations: 51.41 kB / 0.5005 GB, free: 1.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.1446, allocations: 397.5 kB / 0.5009 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1446, allocations: 25.7 kB / 0.5009 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1448, allocations: 220.2 kB / 0.5011 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.1449, allocations: 43.77 kB / 0.5012 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.145, allocations: 65.58 kB / 0.5012 GB, free: 492 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1452, allocations: 342.8 kB / 0.5016 GB, free: 140 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.1454, allocations: 95.94 kB / 0.5016 GB, free: 44 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1458, allocations: 135.3 kB / 0.5018 GB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.1463, allocations: 225.3 kB / 0.502 GB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1463, allocations: 0 / 0.502 GB, free: 15.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001363/0.1476, allocations: 442.2 kB / 0.5024 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1476, allocations: 8.094 kB / 0.5024 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1477, allocations: 3.938 kB / 0.5024 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.1487, allocations: 245.5 kB / 0.5027 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1489, allocations: 43.92 kB / 0.5027 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.1514, allocations: 2.113 MB / 0.5048 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.1518, allocations: 43.91 kB / 0.5048 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1518, allocations: 12 kB / 0.5048 GB, free: 12.62 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.0001802/0.152, allocations: 141.8 kB / 0.505 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.1521, allocations: 35.77 kB / 0.505 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.1521, allocations: 35.11 kB / 0.505 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1521, allocations: 7.875 kB / 0.505 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1521, allocations: 4 kB / 0.505 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1522, allocations: 4 kB / 0.505 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.1536, allocations: 0.663 MB / 0.5057 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1536, allocations: 4 kB / 0.5057 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.1537, allocations: 27.94 kB / 0.5057 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.154, allocations: 160.7 kB / 0.5059 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.154, allocations: 7.984 kB / 0.5059 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007895/0.1548, allocations: 0.646 MB / 0.5065 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1548, allocations: 0 / 0.5065 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.1555, allocations: 364.9 kB / 0.5069 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1557, allocations: 59.67 kB / 0.5069 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1557, allocations: 3.938 kB / 0.5069 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.156, allocations: 23.97 kB / 0.5069 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.156, allocations: 7.984 kB / 0.5069 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.156, allocations: 4 kB / 0.5069 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003244/0.1564, allocations: 267.2 kB / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1564, allocations: 96 / 0.5072 GB, free: 10.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003951/0.1568, allocations: 83.83 kB / 0.5073 GB, free: 9.973 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.0001579/0.1569, allocations: 107.2 kB / 0.5074 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009858/0.1579, allocations: 367.8 kB / 0.5077 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1579, allocations: 0 / 0.5077 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.1581, allocations: 79.88 kB / 0.5078 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.1587, allocations: 89.48 kB / 0.5079 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1599, allocations: 0.5981 MB / 0.5085 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1603, allocations: 0.7833 MB / 0.5092 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.1605, allocations: 34.95 kB / 0.5093 GB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.1605, allocations: 27.44 kB / 0.5093 GB, free: 7.82 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1605, allocations: 0 / 0.5093 GB, free: 7.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01133/0.1718, allocations: 5.31 MB / 0.5145 GB, free: 2.574 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.2481793710030615] Failed to read output from testmodel.py, exit status != 0: 0.18093672394752502 0.37377512900000004 0.23792078400000002 Calling exit ...