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.0008188/0.0008188, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001108/0.001108, allocations: 177 kB / 23.5 MB, free: 1.055 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 1.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.01777/0.01777, allocations: 4.215 MB / 264.5 MB, free: 9.02 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.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 2.054e-06/2.054e-06, allocations: 0 / 339 MB, free: 10.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.651e-05, allocations: 6.25 kB / 339 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003018/0.003044, allocations: 3.376 MB / 342.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.004511, allocations: 1.25 MB / 343.6 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.004686, allocations: 4 kB / 343.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.005127, allocations: 214.7 kB / 343.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.005393, allocations: 166.7 kB / 344 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.005585, allocations: 123.8 kB / 344.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.005951, allocations: 0.5836 MB / 344.7 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.006111, allocations: 80.62 kB / 344.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.006359, allocations: 311.3 kB / 345.1 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.006542, allocations: 203.4 kB / 345.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.00659, allocations: 52 kB / 345.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.006691, allocations: 71.92 kB / 345.4 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.006743, allocations: 111.6 kB / 345.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.006835, allocations: 155.6 kB / 345.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.007163, allocations: 378.7 kB / 346 MB, free: 3.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.007165, allocations: 0 / 346 MB, free: 3.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007166, allocations: 0 / 346 MB, free: 3.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.007173, allocations: 0 / 346 MB, free: 3.559 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009622/0.008135, allocations: 0.8032 MB / 346.8 MB, free: 2.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.008169, allocations: 12.03 kB / 346.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.445e-05/0.008264, allocations: 64.66 kB / 346.9 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.008821, allocations: 413.8 kB / 347.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.008838, allocations: 12.88 kB / 347.3 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.008867, allocations: 28.31 kB / 347.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.009186, allocations: 282.3 kB / 347.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.009195, allocations: 4 kB / 347.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.00922, allocations: 8 kB / 347.6 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.00923, allocations: 4 kB / 347.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.009398, allocations: 118.9 kB / 347.8 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01051, allocations: 1.241 MB / 349 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.01074, allocations: 127 kB / 349.1 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.01086, allocations: 59.66 kB / 349.2 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.01088, allocations: 4 kB / 349.2 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.0109, allocations: 37.33 kB / 349.2 MB, free: 180 kB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.0109, allocations: 4 kB / 349.2 MB, free: 176 kB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008527/0.01175, allocations: 285.2 kB / 349.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.01178, allocations: 51.41 kB / 349.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.01207, allocations: 398.7 kB / 350 MB, free: 15.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.01209, allocations: 25.7 kB / 350 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.01225, allocations: 278.8 kB / 350.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.01228, allocations: 39.64 kB / 350.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.01236, allocations: 59.34 kB / 350.3 MB, free: 15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.01253, allocations: 0.5193 MB / 350.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.01262, allocations: 47.97 kB / 350.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01274, allocations: 93.33 kB / 351 MB, free: 14.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.01292, allocations: 133.1 kB / 351.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01292, allocations: 0 / 351.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005679/0.01349, allocations: 321.2 kB / 351.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01351, allocations: 11.92 kB / 351.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01351, allocations: 12.16 kB / 351.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.01395, allocations: 183.2 kB / 351.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.01406, allocations: 39.92 kB / 351.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.01574, allocations: 2.779 MB / 354.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.0159, allocations: 35.77 kB / 354.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.01592, allocations: 4 kB / 354.5 MB, free: 10.62 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): 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 0.000123/0.01604, allocations: 172.5 kB / 354.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.01608, allocations: 31.81 kB / 354.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.01613, allocations: 39.14 kB / 354.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01614, allocations: 4 kB / 354.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01614, allocations: 0 / 354.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01614, allocations: 0 / 354.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.01675, allocations: 0.5512 MB / 355.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.01675, allocations: 4 kB / 355.3 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.01679, allocations: 15.98 kB / 355.3 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.01696, allocations: 107.7 kB / 355.4 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01697, allocations: 7.938 kB / 355.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003502/0.01732, allocations: 0.8273 MB / 356.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01733, allocations: 4.031 kB / 356.3 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.01761, allocations: 310.9 kB / 356.6 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.01768, allocations: 51.72 kB / 356.6 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01771, allocations: 8 kB / 356.6 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.01782, allocations: 11.98 kB / 356.6 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.01786, allocations: 11.98 kB / 356.7 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01787, allocations: 4 kB / 356.7 MB, free: 8.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.01805, allocations: 271 kB / 356.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01805, allocations: 0 / 356.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.01832, allocations: 83.84 kB / 357 MB, free: 7.996 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 (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.000149/0.01847, allocations: 95.25 kB / 357.1 MB, free: 7.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.01895, allocations: 347.6 kB / 357.4 MB, free: 7.531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01895, allocations: 0 / 357.4 MB, free: 7.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.01903, allocations: 51.78 kB / 357.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.01938, allocations: 80.69 kB / 357.6 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.02035, allocations: 0.5502 MB / 358.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.799e-05/0.02041, allocations: 92.5 kB / 358.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.02052, allocations: 42.94 kB / 358.2 MB, free: 6.672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.02057, allocations: 24.5 kB / 358.3 MB, free: 6.645 MB / 282.7 MB Notification: Performance of SimCode: time 1.193e-06/0.02057, allocations: 0 / 358.3 MB, free: 6.645 MB / 282.7 MB Notification: Performance of Templates: time 0.007169/0.02774, allocations: 4.582 MB / 362.9 MB, free: 2.137 MB / 282.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.9727597900200635]