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.001248/0.001248, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001357/0.001357, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.02855/0.02855, allocations: 4.211 MB / 263.4 MB, free: 12.61 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 392.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.725e-05, allocations: 2.281 kB / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004679/0.004706, allocations: 3.078 MB / 395.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.00686, allocations: 1.176 MB / 396.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.007132, allocations: 8 kB / 396.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.007833, allocations: 194.9 kB / 396.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.008341, allocations: 162.8 kB / 396.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.008609, allocations: 115.8 kB / 396.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007761/0.009385, allocations: 0.5447 MB / 397.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.009615, allocations: 80.58 kB / 397.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.01014, allocations: 303.3 kB / 397.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.01049, allocations: 187.4 kB / 398 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.01059, allocations: 48 kB / 398.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.0108, allocations: 67.98 kB / 398.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.01091, allocations: 99.66 kB / 398.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.01118, allocations: 147.6 kB / 398.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008112/0.012, allocations: 0.5336 MB / 398.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.012, allocations: 0 / 398.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.012, allocations: 0 / 398.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.01201, allocations: 0 / 398.9 MB, free: 3.383 MB / 318.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.002127/0.01414, allocations: 0.7112 MB / 399.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01418, allocations: 12.03 kB / 399.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.01429, allocations: 40.66 kB / 399.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.01544, allocations: 408.5 kB / 400.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.01547, allocations: 12.88 kB / 400.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.01551, allocations: 20.38 kB / 400.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.01615, allocations: 284.3 kB / 400.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.01616, allocations: 0 / 400.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.0162, allocations: 16 kB / 400.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.0162, allocations: 4 kB / 400.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.01683, allocations: 224.9 kB / 400.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.01912, allocations: 1.111 MB / 401.7 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.01955, allocations: 142.4 kB / 401.9 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.01987, allocations: 100.8 kB / 402 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.0199, allocations: 0 / 402 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.01993, allocations: 42.48 kB / 402 MB, free: 120 kB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.01993, allocations: 0 / 402 MB, free: 120 kB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000811/0.02075, allocations: 249.5 kB / 402.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.02079, allocations: 51.41 kB / 402.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.02123, allocations: 353.7 kB / 402.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.02126, allocations: 25.7 kB / 402.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.02146, allocations: 220 kB / 402.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.02149, allocations: 31.78 kB / 402.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.0216, allocations: 49.64 kB / 403 MB, free: 15.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.02176, allocations: 338.8 kB / 403.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.02204, allocations: 95.94 kB / 403.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.02233, allocations: 131.3 kB / 403.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.02284, allocations: 198.4 kB / 403.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.02285, allocations: 7.875 kB / 403.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001068/0.02391, allocations: 350 kB / 404.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.02393, allocations: 8.094 kB / 404.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.02394, allocations: 0 / 404.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.02442, allocations: 72.78 kB / 404.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.02473, allocations: 55.89 kB / 404.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.02642, allocations: 1.436 MB / 405.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.02674, allocations: 39.84 kB / 405.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.02677, allocations: 4 kB / 405.7 MB, free: 12.26 MB / 334.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.0001661/0.02693, allocations: 150.6 kB / 405.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.02701, allocations: 27.81 kB / 405.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.02708, allocations: 26.92 kB / 405.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.02708, allocations: 7.969 kB / 405.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.02709, allocations: 3.984 kB / 405.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.02709, allocations: 4 kB / 405.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/0.02804, allocations: 0.491 MB / 406.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02804, allocations: 0 / 406.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.02823, allocations: 35.91 kB / 406.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.02823, allocations: 0 / 406.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.02824, allocations: 0 / 406.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.02825, allocations: 3.938 kB / 406.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02825, allocations: 4 kB / 406.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.02885, allocations: 300 kB / 406.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.02896, allocations: 47.72 kB / 406.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.029, allocations: 4 kB / 406.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.02922, allocations: 11.98 kB / 406.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.02926, allocations: 3.984 kB / 406.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.02928, allocations: 8 kB / 406.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.02956, allocations: 247.2 kB / 407 MB, free: 10.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02956, allocations: 0 / 407 MB, free: 10.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000356/0.02992, allocations: 67.89 kB / 407.1 MB, free: 10.76 MB / 334.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.00016/0.03008, allocations: 111.1 kB / 407.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008721/0.03095, allocations: 343.2 kB / 407.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.03096, allocations: 4.188 kB / 407.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.03118, allocations: 63.95 kB / 407.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.03166, allocations: 62.02 kB / 407.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.03275, allocations: 0.5159 MB / 408.2 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.03292, allocations: 169 kB / 408.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.03311, allocations: 42.94 kB / 408.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.0332, allocations: 28.48 kB / 408.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.0332, allocations: 3.938 kB / 408.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of Templates: time 0.008952/0.04215, allocations: 3.663 MB / 412.1 MB, free: 5.77 MB / 334.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.329231459647417] Failed to read output from testmodel.py, exit status != 0: 0.051432207226753235 0.06621203 0.051094114 Calling exit ...