Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.001389/0.001389, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001524/0.001524, allocations: 164.6 kB / 23.01 MB, free: 4.598 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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.02814/0.02814, allocations: 4.23 MB / 264 MB, free: 12.58 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.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") [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.002363/0.002363, allocations: 71.89 kB / 392.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1071, allocations: 54.58 MB / 447.3 MB, free: 4.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005316/0.1124, allocations: 3.083 MB / 450.3 MB, free: 1.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1148, allocations: 1.18 MB / 451.5 MB, free: 472 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.1152, allocations: 4 kB / 451.5 MB, free: 468 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.1159, allocations: 202.7 kB / 451.7 MB, free: 264 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.1165, allocations: 155 kB / 451.9 MB, free: 108 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1167, allocations: 115.8 kB / 452 MB, free: 15.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007534/0.1175, allocations: 0.5215 MB / 452.5 MB, free: 15.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.1177, allocations: 88.56 kB / 452.6 MB, free: 15.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.118, allocations: 195.3 kB / 452.8 MB, free: 15.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.1184, allocations: 215 kB / 453 MB, free: 14.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.593e-05/0.1184, allocations: 52 kB / 453 MB, free: 14.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1186, allocations: 71.98 kB / 453.1 MB, free: 14.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1187, allocations: 107.6 kB / 453.2 MB, free: 14.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.1189, allocations: 171.2 kB / 453.4 MB, free: 14.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.1196, allocations: 0.5137 MB / 453.9 MB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1196, allocations: 4 kB / 453.9 MB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1196, allocations: 0 / 453.9 MB, free: 14.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1196, allocations: 0 / 453.9 MB, free: 14.06 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001955/0.1215, allocations: 0.7151 MB / 454.6 MB, free: 13.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1216, allocations: 12.03 kB / 454.6 MB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.139e-05/0.1217, allocations: 44.69 kB / 454.7 MB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1227, allocations: 401.3 kB / 455.1 MB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1227, allocations: 20.56 kB / 455.1 MB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.1228, allocations: 24 kB / 455.1 MB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.1234, allocations: 272.2 kB / 455.4 MB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1234, allocations: 4 kB / 455.4 MB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.1234, allocations: 15.92 kB / 455.4 MB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1234, allocations: 4 kB / 455.4 MB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.124, allocations: 236.9 kB / 455.6 MB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.1262, allocations: 1.1 MB / 456.7 MB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1266, allocations: 134.5 kB / 456.9 MB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.1269, allocations: 100.8 kB / 457 MB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1269, allocations: 4 kB / 457 MB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1269, allocations: 30.56 kB / 457 MB, free: 10.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.1269, allocations: 0 / 457 MB, free: 10.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007952/0.1277, allocations: 253.4 kB / 457.2 MB, free: 10.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.1278, allocations: 63.41 kB / 457.3 MB, free: 10.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.1282, allocations: 349.6 kB / 457.6 MB, free: 10.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.1282, allocations: 25.7 kB / 457.7 MB, free: 10.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1284, allocations: 220.1 kB / 457.9 MB, free: 9.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1285, allocations: 27.75 kB / 457.9 MB, free: 9.848 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1286, allocations: 57.64 kB / 458 MB, free: 9.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1287, allocations: 342.7 kB / 458.3 MB, free: 9.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.129, allocations: 91.94 kB / 458.4 MB, free: 9.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.1293, allocations: 135.4 kB / 458.5 MB, free: 9.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.1298, allocations: 191.3 kB / 458.7 MB, free: 9.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1298, allocations: 3.938 kB / 458.7 MB, free: 9.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001029/0.1309, allocations: 349.3 kB / 459.1 MB, free: 8.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1309, allocations: 8 kB / 459.1 MB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1309, allocations: 0 / 459.1 MB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/0.1314, allocations: 80.88 kB / 459.1 MB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.1317, allocations: 51.89 kB / 459.2 MB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.1335, allocations: 1.451 MB / 460.6 MB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.1338, allocations: 23.88 kB / 460.7 MB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.1339, allocations: 15.98 kB / 460.7 MB, free: 6.922 MB / 430.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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001761/0.1341, allocations: 141.8 kB / 460.8 MB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.1341, allocations: 35.75 kB / 460.9 MB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/0.1342, allocations: 31.02 kB / 460.9 MB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1342, allocations: 0 / 460.9 MB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1342, allocations: 0 / 460.9 MB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1342, allocations: 0 / 460.9 MB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/0.1352, allocations: 0.4909 MB / 461.4 MB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.1352, allocations: 4 kB / 461.4 MB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.1354, allocations: 28 kB / 461.4 MB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.1354, allocations: 7.984 kB / 461.4 MB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1354, allocations: 4 kB / 461.4 MB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1354, allocations: 0 / 461.4 MB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1354, allocations: 0 / 461.4 MB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.136, allocations: 295.9 kB / 461.7 MB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.1362, allocations: 47.78 kB / 461.8 MB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.1362, allocations: 4 kB / 461.8 MB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.1364, allocations: 15.97 kB / 461.8 MB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.1365, allocations: 8 kB / 461.8 MB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1365, allocations: 7.984 kB / 461.8 MB, free: 5.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.1368, allocations: 239.2 kB / 462 MB, free: 5.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1368, allocations: 0 / 462 MB, free: 5.508 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.1372, allocations: 79.83 kB / 462.1 MB, free: 5.43 MB / 430.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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001762/0.1374, allocations: 111.1 kB / 462.2 MB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000875/0.1383, allocations: 331.3 kB / 462.5 MB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1383, allocations: 0 / 462.5 MB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.1385, allocations: 76.19 kB / 462.6 MB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.139, allocations: 73.98 kB / 462.7 MB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.1402, allocations: 0.5256 MB / 463.2 MB, free: 4.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1404, allocations: 165.1 kB / 463.4 MB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.1406, allocations: 46.94 kB / 463.4 MB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.1407, allocations: 28.48 kB / 463.4 MB, free: 4.016 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1407, allocations: 0 / 463.4 MB, free: 4.016 MB / 430.1 MB Notification: Performance of Templates: time 0.009203/0.1499, allocations: 3.674 MB / 467.1 MB, free: 420 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5120772059308365] Failed to read output from testmodel.py, exit status != 0: 0.1598457780200988 0.17543713599999994 0.052533262000000004 Calling exit ...