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.001301/0.001301, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009777/0.0009777, allocations: 169 kB / 23.02 MB, free: 1.551 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.973/0.973, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02903/0.02903, allocations: 4.227 MB / 264.2 MB, free: 8.93 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.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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 339.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.517e-05, allocations: 4.703 kB / 339.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.002726/0.002751, allocations: 3.306 MB / 342.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003823, allocations: 1.231 MB / 343.6 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.003979, allocations: 4 kB / 343.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.004366, allocations: 198.8 kB / 343.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.004585, allocations: 166.8 kB / 344 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.004702, allocations: 115.8 kB / 344.1 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.004974, allocations: 0.5408 MB / 344.6 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.005135, allocations: 76.64 kB / 344.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.005319, allocations: 299.3 kB / 345 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.005506, allocations: 191.4 kB / 345.2 MB, free: 4.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.005553, allocations: 51.98 kB / 345.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.005644, allocations: 67.94 kB / 345.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.005697, allocations: 103.6 kB / 345.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.005787, allocations: 155.6 kB / 345.5 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.006101, allocations: 346.8 kB / 345.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.006103, allocations: 0 / 345.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.006104, allocations: 0 / 345.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.00611, allocations: 0 / 345.9 MB, free: 3.379 MB / 266.7 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.001008/0.007118, allocations: 0.7761 MB / 346.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.007161, allocations: 11.97 kB / 346.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.00725, allocations: 64.66 kB / 346.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.007767, allocations: 399.4 kB / 347.1 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.007782, allocations: 12.88 kB / 347.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.007811, allocations: 20.38 kB / 347.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.008105, allocations: 244.4 kB / 347.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.008119, allocations: 4 kB / 347.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.008141, allocations: 8 kB / 347.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.008151, allocations: 4 kB / 347.4 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.008305, allocations: 105 kB / 347.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.009372, allocations: 1.228 MB / 348.7 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.009515, allocations: 90.97 kB / 348.8 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.009618, allocations: 47.66 kB / 348.9 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.009638, allocations: 4 kB / 348.9 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.009652, allocations: 45.31 kB / 348.9 MB, free: 152 kB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.009654, allocations: 0 / 348.9 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002334/0.009887, allocations: 121.6 kB / 349 MB, free: 24 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.009925, allocations: 55.41 kB / 349.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.0102, allocations: 390.7 kB / 349.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.01021, allocations: 29.7 kB / 349.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01034, allocations: 270.8 kB / 349.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.01036, allocations: 27.78 kB / 349.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.01043, allocations: 55.3 kB / 349.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.01057, allocations: 0.5118 MB / 350.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.01064, allocations: 43.97 kB / 350.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/0.01074, allocations: 91.45 kB / 350.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.01088, allocations: 126.7 kB / 350.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01089, allocations: 3.938 kB / 350.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004333/0.01132, allocations: 259.5 kB / 350.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01133, allocations: 4 kB / 350.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01134, allocations: 4 kB / 350.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/0.01158, allocations: 79.7 kB / 351 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.01173, allocations: 47.91 kB / 351 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009995/0.01273, allocations: 1.971 MB / 353 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.01286, allocations: 23.84 kB / 353 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01287, allocations: 11.98 kB / 353 MB, free: 11.82 MB / 282.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): 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 9.627e-05/0.01297, allocations: 160.6 kB / 353.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.01301, allocations: 31.81 kB / 353.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.01305, allocations: 30.92 kB / 353.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01305, allocations: 3.938 kB / 353.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.01305, allocations: 4.062 kB / 353.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.01305, allocations: 0 / 353.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.01347, allocations: 484.8 kB / 353.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.01347, allocations: 0 / 353.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.01354, allocations: 27.86 kB / 353.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01354, allocations: 3.984 kB / 353.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01355, allocations: 4 kB / 353.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01356, allocations: 4 kB / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01356, allocations: 0 / 353.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.01372, allocations: 267.5 kB / 354 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.01378, allocations: 47.72 kB / 354.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.0138, allocations: 0 / 354.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.01389, allocations: 12 kB / 354.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.01393, allocations: 11.92 kB / 354.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01393, allocations: 0 / 354.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.0141, allocations: 263.1 kB / 354.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0141, allocations: 0 / 354.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.01433, allocations: 75.81 kB / 354.4 MB, free: 10.33 MB / 282.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 (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.0001182/0.01445, allocations: 99.25 kB / 354.5 MB, free: 10.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.0148, allocations: 326.2 kB / 354.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.0148, allocations: 0 / 354.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.01495, allocations: 43.59 kB / 354.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.01527, allocations: 74.27 kB / 354.9 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.01602, allocations: 494.4 kB / 355.4 MB, free: 9.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.01607, allocations: 88.62 kB / 355.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.01617, allocations: 38.94 kB / 355.6 MB, free: 9.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.01623, allocations: 32.48 kB / 355.6 MB, free: 9.07 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01623, allocations: 0 / 355.6 MB, free: 9.07 MB / 282.7 MB Notification: Performance of Templates: time 0.005916/0.02215, allocations: 3.723 MB / 359.3 MB, free: 5.422 MB / 282.7 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=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9682829827070236]