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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02996/0.02996, allocations: 5.472 MB / 311.6 MB, free: 3.418 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001936/0.001936, allocations: 63.89 kB / 437.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1042, allocations: 53.39 MB / 491.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005/0.1092, allocations: 3.549 MB / 494.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1114, allocations: 1.293 MB / 496.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.1117, allocations: 4 kB / 496.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.1123, allocations: 238.6 kB / 496.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.1127, allocations: 182.7 kB / 496.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.113, allocations: 115.8 kB / 496.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.1136, allocations: 0.6014 MB / 497.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.1138, allocations: 84.09 kB / 497.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.1141, allocations: 231.1 kB / 497.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.1145, allocations: 266.9 kB / 497.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.1146, allocations: 59.94 kB / 497.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1147, allocations: 64 kB / 498 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1148, allocations: 115.6 kB / 498.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.1151, allocations: 246.8 kB / 498.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.1157, allocations: 0.5603 MB / 498.9 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1157, allocations: 0 / 498.9 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1157, allocations: 0 / 498.9 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1157, allocations: 0 / 498.9 MB, free: 440 kB / 350.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.00212/0.1178, allocations: 0.8488 MB / 499.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1179, allocations: 12.03 kB / 499.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.118, allocations: 48.66 kB / 499.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.1194, allocations: 0.5144 MB / 0.4886 GB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.1195, allocations: 24.69 kB / 0.4886 GB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.1195, allocations: 32 kB / 0.4886 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008209/0.1203, allocations: 357.2 kB / 0.489 GB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1203, allocations: 4 kB / 0.489 GB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.1204, allocations: 12 kB / 0.489 GB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.1204, allocations: 8 kB / 0.489 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.1215, allocations: 373.9 kB / 0.4893 GB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.1242, allocations: 1.41 MB / 0.4907 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.1253, allocations: 431.5 kB / 0.4911 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.1258, allocations: 152.8 kB / 0.4913 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1259, allocations: 4 kB / 0.4913 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1259, allocations: 34.56 kB / 0.4913 GB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.1259, allocations: 0 / 0.4913 GB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.00579/0.1317, allocations: 1.019 MB / 0.4923 GB, free: 10.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1317, allocations: 59.41 kB / 0.4924 GB, free: 10.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.1322, allocations: 389.7 kB / 0.4927 GB, free: 10.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1323, allocations: 29.7 kB / 0.4928 GB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1325, allocations: 224.5 kB / 0.493 GB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.1325, allocations: 87.3 kB / 0.4931 GB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1327, allocations: 65.66 kB / 0.4931 GB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1328, allocations: 350.7 kB / 0.4935 GB, free: 9.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.1333, allocations: 151.7 kB / 0.4936 GB, free: 9.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.1337, allocations: 187.5 kB / 0.4938 GB, free: 9.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.1346, allocations: 305.4 kB / 0.4941 GB, free: 9.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1346, allocations: 0 / 0.4941 GB, free: 9.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004308/0.1389, allocations: 0.8319 MB / 0.4949 GB, free: 8.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1389, allocations: 4 kB / 0.4949 GB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1389, allocations: 4 kB / 0.4949 GB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.1402, allocations: 325.5 kB / 0.4952 GB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1405, allocations: 63.91 kB / 0.4953 GB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009291/0.1498, allocations: 4.325 MB / 0.4995 GB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.1503, allocations: 43.81 kB / 0.4995 GB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.1503, allocations: 12.11 kB / 0.4995 GB, free: 3.137 MB / 366.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.0002681/0.1506, allocations: 158.7 kB / 0.4997 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/0.1507, allocations: 39.77 kB / 0.4997 GB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.1508, allocations: 43.59 kB / 0.4998 GB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/0.1508, allocations: 11.92 kB / 0.4998 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1509, allocations: 0 / 0.4998 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1509, allocations: 0 / 0.4998 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.1554, allocations: 1.175 MB / 0.5009 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1554, allocations: 4.094 kB / 0.5009 GB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.1555, allocations: 35.95 kB / 0.501 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.1562, allocations: 248.6 kB / 0.5012 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1562, allocations: 3.984 kB / 0.5012 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/0.1634, allocations: 2.57 MB / 0.5037 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1634, allocations: 0 / 0.5037 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/0.1673, allocations: 0.7728 MB / 0.5045 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.1676, allocations: 140.8 kB / 0.5046 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.1676, allocations: 8 kB / 0.5046 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.168, allocations: 23.97 kB / 0.5046 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.1681, allocations: 27.92 kB / 0.5047 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1681, allocations: 4 kB / 0.5047 GB, free: 13.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003948/0.1685, allocations: 279.1 kB / 0.5049 GB, free: 13.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1685, allocations: 0 / 0.5049 GB, free: 13.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006316/0.1691, allocations: 115.9 kB / 0.505 GB, free: 13.25 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 (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.0001855/0.1693, allocations: 103.7 kB / 0.5051 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.1708, allocations: 0.5996 MB / 0.5057 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1708, allocations: 0 / 0.5057 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.1714, allocations: 266.6 kB / 0.506 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.172, allocations: 88.7 kB / 0.5061 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1739, allocations: 0.7149 MB / 0.5068 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.1745, allocations: 0.7964 MB / 0.5075 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.1746, allocations: 43.25 kB / 0.5076 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.1747, allocations: 27.44 kB / 0.5076 GB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1747, allocations: 0 / 0.5076 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01748/0.1922, allocations: 8.383 MB / 0.5158 GB, free: 2.156 MB / 382.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 -s gbode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.961898153182119] Failed to read output from testmodel.py, exit status != 0: 0.2000837316736579 0.422929128 0.304743014 Calling exit ...