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.0007446/0.0007446, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007531/0.0007531, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8279/0.8279, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.01636/0.01636, allocations: 4.216 MB / 264.2 MB, free: 9.16 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.834e-06/1.834e-06, allocations: 0 / 393 MB, free: 4.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.599e-05, allocations: 2.281 kB / 393 MB, free: 4.402 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003328/0.003354, allocations: 3.076 MB / 396 MB, free: 1.297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.004546, allocations: 1.18 MB / 397.2 MB, free: 116 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.004686, allocations: 4 kB / 397.2 MB, free: 112 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.005094, allocations: 194.9 kB / 397.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.005345, allocations: 166.8 kB / 397.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.005481, allocations: 115.8 kB / 397.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.005846, allocations: 0.5524 MB / 398.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.005998, allocations: 76.64 kB / 398.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.006213, allocations: 295.3 kB / 398.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.006385, allocations: 183.5 kB / 398.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.006432, allocations: 48 kB / 398.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.006523, allocations: 75.97 kB / 398.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005418/0.007065, allocations: 103.6 kB / 399 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.007171, allocations: 147.6 kB / 399.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.007598, allocations: 0.5297 MB / 399.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.007601, allocations: 0 / 399.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007602, allocations: 0 / 399.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.007608, allocations: 0 / 399.7 MB, free: 13.64 MB / 330.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.001024/0.008632, allocations: 0.7112 MB / 400.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.008669, allocations: 16.03 kB / 400.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.008727, allocations: 40.66 kB / 400.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.009297, allocations: 400.5 kB / 400.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.009312, allocations: 16.88 kB / 400.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.009338, allocations: 16.38 kB / 400.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.009663, allocations: 284.3 kB / 401.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.009672, allocations: 0 / 401.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.009692, allocations: 8 kB / 401.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.009699, allocations: 7.938 kB / 401.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.01002, allocations: 229 kB / 401.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.01119, allocations: 1.111 MB / 402.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.01141, allocations: 150.4 kB / 402.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.01158, allocations: 100.8 kB / 402.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.01159, allocations: 4 kB / 402.7 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.01161, allocations: 34.5 kB / 402.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.01161, allocations: 4 kB / 402.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004252/0.01204, allocations: 237.6 kB / 403 MB, free: 10.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.01207, allocations: 51.41 kB / 403.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.01231, allocations: 361.6 kB / 403.4 MB, free: 9.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.01233, allocations: 25.7 kB / 403.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01243, allocations: 224 kB / 403.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.01245, allocations: 27.94 kB / 403.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.01252, allocations: 53.64 kB / 403.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.0126, allocations: 342.8 kB / 404.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.01274, allocations: 95.88 kB / 404.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.01289, allocations: 133.8 kB / 404.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.01315, allocations: 194.4 kB / 404.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01315, allocations: 3.938 kB / 404.5 MB, free: 8.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005235/0.01367, allocations: 354 kB / 404.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01369, allocations: 4 kB / 404.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01369, allocations: 80 / 404.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.01392, allocations: 76.88 kB / 404.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.01407, allocations: 55.89 kB / 405 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.01539, allocations: 1.44 MB / 406.4 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01553, allocations: 35.86 kB / 406.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.01555, allocations: 7.984 kB / 406.5 MB, free: 6.512 MB / 330.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 0.0001079/0.01565, allocations: 145.8 kB / 406.6 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.01569, allocations: 27.81 kB / 406.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.01573, allocations: 30.95 kB / 406.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01573, allocations: 8.031 kB / 406.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01573, allocations: 0 / 406.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.01574, allocations: 4 kB / 406.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.01624, allocations: 0.491 MB / 407.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01624, allocations: 0 / 407.2 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.01632, allocations: 35.94 kB / 407.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01632, allocations: 0 / 407.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01633, allocations: 3.984 kB / 407.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01633, allocations: 4 kB / 407.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01633, allocations: 4 kB / 407.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.0166, allocations: 288 kB / 407.5 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.01666, allocations: 47.72 kB / 407.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01668, allocations: 4 kB / 407.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.01678, allocations: 19.97 kB / 407.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.01681, allocations: 7.938 kB / 407.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01682, allocations: 7.984 kB / 407.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.01698, allocations: 243.2 kB / 407.8 MB, free: 5.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01698, allocations: 0 / 407.8 MB, free: 5.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.0172, allocations: 75.81 kB / 407.9 MB, free: 5.008 MB / 330.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.0001181/0.01732, allocations: 111.1 kB / 408 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.01778, allocations: 339.3 kB / 408.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.01778, allocations: 0 / 408.3 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.01789, allocations: 72.19 kB / 408.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01819, allocations: 65.64 kB / 408.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.01884, allocations: 0.532 MB / 409 MB, free: 3.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.272e-05/0.01893, allocations: 169 kB / 409.1 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.019, allocations: 32.47 kB / 409.2 MB, free: 3.629 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.019, allocations: 4 kB / 409.2 MB, free: 3.625 MB / 330.7 MB Notification: Performance of Templates: time 0.1179/0.1369, allocations: 5.013 MB / 414.2 MB, free: 36.21 MB / 330.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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.316218996420503] Failed to read output from testmodel.py, exit status != 0: 0.1417131694033742 0.14902434199999995 0.13986660499999995 Calling exit ...