Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.0006967/0.0006967, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001702, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006751/0.0006751, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000903/0.001578, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9231/0.9231, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.01742/0.01742, allocations: 4.323 MB / 248.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002793/0.02021, allocations: 1.709 MB / 250.2 MB, free: 8.852 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 251.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.175e-05, allocations: 2.312 kB / 251.5 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004526/0.004548, allocations: 3.482 MB / 255 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.005975, allocations: 1.373 MB / 256.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.006119, allocations: 7.938 kB / 256.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.006521, allocations: 270.5 kB / 256.6 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.006718, allocations: 170.7 kB / 256.8 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.006864, allocations: 131.8 kB / 256.9 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.007252, allocations: 0.5992 MB / 257.5 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.007386, allocations: 85.28 kB / 257.6 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.007725, allocations: 416.3 kB / 258 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.00793, allocations: 183.5 kB / 258.2 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.007975, allocations: 52 kB / 258.2 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.008083, allocations: 67.92 kB / 258.3 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.008131, allocations: 71.75 kB / 258.4 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.008216, allocations: 123.8 kB / 258.5 MB, free: 480 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.008494, allocations: 322.9 kB / 258.8 MB, free: 156 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.008503, allocations: 0 / 258.8 MB, free: 156 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008504, allocations: 3.938 kB / 258.8 MB, free: 152 kB / 250.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.008513, allocations: 0 / 258.8 MB, free: 152 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008304/0.009343, allocations: 0.7325 MB / 259.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.669e-05/0.00937, allocations: 11.98 kB / 259.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.009432, allocations: 47.95 kB / 259.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.009809, allocations: 303.8 kB / 259.9 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.009822, allocations: 16.5 kB / 259.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.009849, allocations: 27.94 kB / 260 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.0101, allocations: 262.8 kB / 260.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.01011, allocations: 4 kB / 260.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.01013, allocations: 8 kB / 260.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01014, allocations: 8 kB / 260.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.01024, allocations: 83.38 kB / 260.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.01117, allocations: 0.8737 MB / 261.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.01134, allocations: 106.5 kB / 261.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.01142, allocations: 48.83 kB / 261.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.01144, allocations: 224 / 261.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.01146, allocations: 38.5 kB / 261.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 7.31e-07/0.01146, allocations: 0 / 261.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005993/0.01206, allocations: 226.2 kB / 261.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.01208, allocations: 59.41 kB / 261.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.01227, allocations: 343.2 kB / 262 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.01228, allocations: 29.7 kB / 262 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.01236, allocations: 193 kB / 262.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.01238, allocations: 43.67 kB / 262.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.01245, allocations: 53.62 kB / 262.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.01253, allocations: 350.7 kB / 262.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.01257, allocations: 27.98 kB / 262.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.01263, allocations: 68.05 kB / 262.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01275, allocations: 113.7 kB / 262.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01275, allocations: 4 kB / 262.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003784/0.01313, allocations: 239.8 kB / 263.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01314, allocations: 8 kB / 263.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01315, allocations: 8.078 kB / 263.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.01349, allocations: 205.4 kB / 263.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01359, allocations: 51.91 kB / 263.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.01468, allocations: 1.903 MB / 265.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01481, allocations: 35.98 kB / 265.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01482, allocations: 7.984 kB / 265.3 MB, free: 9.309 MB / 266.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): 20 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/0.01491, allocations: 125.7 kB / 265.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.01494, allocations: 15.98 kB / 265.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.01498, allocations: 39.17 kB / 265.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.01498, allocations: 0 / 265.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01499, allocations: 96 / 265.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01499, allocations: 3.984 kB / 265.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.01538, allocations: 380.1 kB / 265.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01538, allocations: 4 kB / 265.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.01542, allocations: 12 kB / 265.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.01547, allocations: 35.73 kB / 265.9 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001394/0.01561, allocations: 128.7 kB / 266 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.01562, allocations: 0 / 266 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002162/0.01583, allocations: 0.5601 MB / 266.6 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01583, allocations: 3.938 kB / 266.6 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.01599, allocations: 209.1 kB / 266.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01601, allocations: 0 / 266.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.01611, allocations: 15.98 kB / 266.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.01614, allocations: 11.92 kB / 266.8 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01614, allocations: 7.938 kB / 266.8 MB, free: 7.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.01624, allocations: 144.7 kB / 267 MB, free: 7.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01624, allocations: 0 / 267 MB, free: 7.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.01645, allocations: 79.89 kB / 267.1 MB, free: 7.473 MB / 266.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 (9): * 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: 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001134/0.01657, allocations: 96.31 kB / 267.1 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.01693, allocations: 276.7 kB / 267.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.01694, allocations: 4 kB / 267.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.017, allocations: 49.11 kB / 267.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.01744, allocations: 0.725 MB / 268.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.01965, allocations: 0.5813 MB / 268.8 MB, free: 5.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.892e-05/0.0197, allocations: 92.61 kB / 268.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.144e-05/0.01978, allocations: 34.95 kB / 268.9 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.0199, allocations: 103.3 kB / 269 MB, free: 5.301 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01991, allocations: 0 / 269 MB, free: 5.301 MB / 266.7 MB Notification: Performance of Templates: time 0.09232/0.1122, allocations: 5.403 MB / 274.4 MB, free: 18.85 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6692810086533427]